procmail
[Top] [All Lists]

Re: Procmail as reporting tool

2000-06-15 01:07:03
On Wed, Jun 14, 2000 at 04:35:07PM -0700, Dallman Ross wrote:
The formail solution offered works fine - as a later
post showed, you can add other headers to hit on easily.

Your method is liable to hit a false positive pretty
easily.  Example:

From bar(_at_)foo
Subject: RE: blah
To: foo(_at_)bar
X-Mailer: blah

It was for this exact reason that a perl script I wrote still uses formail to
parse headers, instead of trying to do it directly. I'm sure such a thing
exists, but so far I haven't found a perl way to accuratly parse real headers
out of a message without getting false positives from message contents.

-- 
Andrew Edelstein                http://andrew.pure-chaos.com

"I've learned not to put things in my mouth that are bad for me"
                                Monica Lewinsky on Jenny Craig

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>