procmail
[Top] [All Lists]

Re: Failing recipes: ^From:

2007-04-03 08:17:36
On 3-Apr-2007, at 07:22, Michael D Schleif wrote:
    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?

Your header doesn't match this expression.

FROM_MAILER is supposed to be for matching daemon bounces

from the Man procmailrc page:
        If the regular expression contains `^FROM_MAILER' it will be  
substitut-
        ed by `(^(((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] 
*)?[%@>\t
        ][^<)]*(\(.*\).*)?)?$([^>]|$))' (a stripped down version of
        `^FROM_DAEMON'), which should catch mails coming from most  
mailer-
        daemons.

please note the last line.


-- 
Gentlemen, you can't fight in here! This is the War Room.


____________________________________________________________
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

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