Hi.
I'm running procmail v3.11pre7 on a BSDI 4 machine. For some reason
the FROM_MAILER expansion doesn't appear to be working as I would expect
and I am hoping someone can tell me what I'm doing wrong:
My RC file includes:
:0:/tmp/sbern.procmail
* ^FROM_MAILER(_dot_)*bozo(_at_)test(_dot_)com
/dev/null
:0:/tmp/sbern.procmail
* ^From(_dot_)*bozo(_at_)test(_dot_)com
/dev/null
But this is what I get in my procmail log when I send myself a message
from that address:
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?uuc
p|r(esponse|oot)|(bbs\.)?smtp|serv(ices?|er)|A(dmin(istrator)?|MMGR))(([^).!:a-z
0-9][-_a-z0-9]*)?[%@>
][^<)]*(\(.*\).*)?)?$([^>]|$))(_dot_)*bozo(_at_)test(_dot_)com"
procmail: Match on "^From(_dot_)*bozo(_at_)test(_dot_)com"
Everything else appears to be working perfectly. Why would the second
rule match but not the first? Perhaps I am misunderstanding how the
FROM_MAILER expansion is supposed to work?
If I have overlooked something and/or the answer is contained in the FAQ,
feel free just to send me the URL.
--
+-----------------------------------------------------------------------+
| Sebastian @ Eclipse Internet - (800)483-1223 - sbern(_at_)eclipse(_dot_)net
|
+-----------------------------------------------------------------------+
| A computer lets you make more mistakes faster than any invention in |
| human history--with the possible exceptions of handguns and tequila. |
| - Mitch Ratcliffe, _Technology Review_, April, 1992 |
+-----------------------------------------------------------------------+