On 2013-11-19 7:07 , Philip Prindeville wrote:
>>> but also decomposes the Received: header into keyword/value pairs, such as:
>>
>> Not a chance.  As Kris Deugau pointed out in his posting, parsing
> Well, can we cheat?
> 
> Can we start from the premises that (a) you’ll most likely only ever
> want the 0th (first) instance, or top-most, Received: line because
> that’s the only one you trust anyway, and that (b) if it’s being
> called from inside MIMEDefang, then the system is locally running
> either Postfix or Sendmail, and both have very predictable Received:
> formats (assuming no one has mucked with HReceived: in their
> sendmail.cf file)…

No, milter will give you the message as received, without the first Received 
header added.

-- 
Jan-Pieter Cornet
"If you're doing nothing wrong, you have nothing to hide from the giant
surveillance apparatus the government's been hiding." -- Stephen Colbert

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to