procmail
[Top] [All Lists]

Re: Can not get a filter recognised for one email source

2011-02-16 06:13:44
In message 
<201102160945(_dot_)00651(_dot_)cannewilson(_at_)googlemail(_dot_)com>,
        Anne Wilson (cannewilson(_at_)googlemail(_dot_)com) wrote:
I get regular emails from one list, that always end up in my Inbox, no matter 
what I put in the recipes.  At the moment these two recipes are in place:

:0
* (^From|^To|^Subject): .*(Janome|embroidery|Embroidery|emblibrary|
empressmills)
${MAILDIR}.INBOX.Sewing/

:0
* ^From: .*Debra\@emblibrary.com
${MAILDIR}.INBOX.Sewing/

You have a space character in both recipes which should not be there.
Try:

 * (^From|^To|^Subject):.*(Janome|embroidery|Embroidery|emblibrary|

and

 * ^From:.*Debra\@emblibrary.com

And BTW procmail does case insensitive matching unless you tell it
otherwise, so the fact that the From: and Subject: headers in the
message you quoted start with lower case letters should not matter.


Cheers,
       Nick.
-- 

____________________________________________________________
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