anyone knowing procmail very good?

Anne Wilson annew at kde.org
Wed Jan 28 12:13:57 UTC 2009


On Tuesday 27 January 2009 22:35:47 Christoph Höger wrote:
> > Not knowing the details of those posts, I don't know the reason, but I
> > *think* your recipe demands that both conditions are met.  Are they?
>
> Hnnn. Well, obviously the ^TO macro did not match, I added Sender:
> recently and just thought "WTH, leave it there", as I read those rules
> would be OR'd somewhere on the web.
> But:
>
> procmailrc(5):
>      Conditions are anded; if there are no conditions the  result
>      will be true by default.
>
> Looks like I did not get the difference between lines starting with *
> and those that do not.
>
> Thanks for the advice

I could be wrong, but AIUI, two lines like that are AND.  The form * (^Sender|
To|List-ID): is OR.  I use ORs like this in many of my recipes and they work 
well.  They work equally well at the other side of the equation.  I have one 
recipe that uses a similar OR to put marketing mail from several companies 
into one folder.

Amme
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090128/e0734d30/attachment-0001.sig>


More information about the fedora-list mailing list