Michael D Schleif | 3 Apr 2007 17:49

Re: Failing recipes: ^From:

* Bart Schaefer <barton.schaefer <at> gmail.com> [2007:04:03:07:54:51-0700] scribed:
> On 4/3/07, Michael D Schleif <mds <at> helices.org> wrote:
> > What am I missing?
> 
>        If the regular expression contains '^FROM_MAILER' it will  be  substi-
>        tuted by '(^(((Resent-)?(From|Sender)|X-Envelope-From):|>?From
>        )([^>]*[^(.% <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]*)?[% <at> >\t ][^<)]*(\(.*\).*)?)?$([^>]|$))' (a stripped down
>        version of '^FROM_DAEMON'), which should catch mails coming from most
>        mailer-daemons.
> 
> The mail you're trying to catch is not coming from a mailer-daemon.
> Why are you using FROM_MAILER at all?

Yes, I know.  In fact, this is where I started:

    :0
    * ^from:.*mr real estate wizard <noreply <at> mrrealestatewizard\.com>
    rei/

    procmail: No match on "^from:.*mr real estate wizard <noreply <at> mrrealestatewizard\.com>"

NOTE: This is just one (1) of dozens of ^from: recipes that began
failing late last year.

OK, EUREKA !?!?

I found that several (maybe, ALL?) of these have double quotation (")
marks in the ^From: header; which, of course, must be specially
considered ;>

Thank you.

>    :0
>    * ^From:.*mr real estate wizard <noreply <at> mrrealestatewizard\.com>
>    rei/
> 
> Although really
> 
>    :0
>    * ^From:.* <at> mrrealestatewizard\.com
>    rei/
> 
> is probably enough.

--

-- 
Best Regards,

mds
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail <at> lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

Gmane