bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] Re: Parsing 'Received:' header into components


From: Richard Dawe
Subject: Re: [bug-mailutils] Re: Parsing 'Received:' header into components
Date: Sat, 19 Mar 2005 12:32:19 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

Hello.

Robby Villegas wrote:
I suppose it's "easy" if I use lex & yacc for this.

Still, if someone has already done the work and is willing to share
it, I'd be grateful, and would be willing to test it on tens of
thousands of emails, including a lot of spam (good for torture tests).

If you know perl, it's probably worth looking at spamassassin's source code <http://spamassassin.apache.org/>, to see the various real-world formats. There's no standard for the format of the Received header. The particular file is: lib/Mail/SpamAssassin/Message/Metadata/Received.pm.

Good luck! Bye, Rich =]

--
Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ]

"You can't evaluate a man by logic alone."
  -- McCoy, "I, Mudd", Star Trek




reply via email to

[Prev in Thread] Current Thread [Next in Thread]