Joe Hagerty wrote:
It seems straight forward enough for me, just wanting a second opinion.
Sure, the procmail part shouldn't be too hard, especially if the perl
script is already written. A few things to watch for...
1. Some mailers insert blanks between the ':' and the first character
of subject, e.g. "Subject: blah" vs "Subject: blah"; this can be
handled using "formail -zxsubject:"
2. Email may arrive without a "Subject:" field. Will it be sent to
/dev/null, create an auto-reply, get bounced...?
3. Will the perl script handle "Re: blah" or "Re^2: blah" (or even
worse, "FW: blah" and "fwd: blah") correctly? Or does your
procmail script have to handle removal of prefixes (or do you
consider "blah" and the above 3 to all be different subjects)?
4. Some mailers insert extra space/s after the "Re:" so that if an
original message have "Subject: blah" then a reply may have
"Subject: Re: blah"
--
Neither I nor my employer will accept any liability for any problems
or consequential loss caused by relying on this information. Sorry.
Collin Park Not a statement of my employer.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail