Forum Discussion
ExMSW4319
Feb 15, 2022Iron Contributor
Matching the Received header
I'm looking to match a Received header and am running into the usual problems achieving a match. In the case of the Received header, there are six examples in a typical single message and I am wonder...
Victor_Ivanidze
Feb 15, 2022Bronze Contributor
Hi,
could you please explain what exactly you are trying to achieve?
could you please explain what exactly you are trying to achieve?
ExMSW4319
Feb 15, 2022Iron Contributor
Well, I was hoping to discover if the more responsible implementers of a certain mail API did not leave the word "unknown" in their headers:
Received: from {12-digit numeral} named unknown by {guess who} with HTTPREST; {day, date, time, zone}
I'm looking to match "named unknown by {guess who} with" as I don't see the need to burden the rule with expressions to match the numeral and the time stamp at the end.
{guess who} is of course a simple domain name with two period characters. It's simple constant text so there is no need for a regex pattern to match that.