On Tuesday, 3 April, 2007 at 08:22:04 -0500, Michael D Schleif wrote:
For the last several months, my recipes based on the From: header are
failing miserably ?!?!
Following is an example.
Actual header:
From: Mr Real Estate Wizard <noreply(_at_)mrrealestatewizard(_dot_)com>
Actual recipe (I have tried several variations):
:0
* ^FROM_MAILER.*mr real estate wizard
<noreply(_at_)mrrealestatewizard\(_dot_)com>
rei/
Actual result for this exact recipe (my line wrap):
procmail: No match on "(^(((Resent-)?(From|Sender)|X-Envelope-From)
:|>?From
)([^>]*[^((_dot_)%(_at_)a-z0-9])?(Post(ma(st(er)?|n)|office)|(send)?
Mail(er)?|daemon|mmdf|n?uucp|ops|r(esponse|oot)|(bbs\.)?smtp(error)
?|s(erv(ices?|er)|ystem)|A(dmin(istrator)?|MMGR))(([^).!:a-z0-9]
[-_a-z0-9]*)?[%@> ][^<)]*(\(.*\).*)?)?$([^>]|$)).*mr real estate
wizard <noreply(_at_)mrrealestatewizard\(_dot_)com>"
What am I missing?
I think you are confusing From_ and From: headers. Try:
^
|
(NB the underscore is a convention to indicate that there is a space
after the letter m and not colon.)
:0
* From:.*mr\ real\ estate
rei/
Cheers,
Nick.
--
Please do not CC me on replies, I read the list and don't need the dupes.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail