[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: anyone knowing procmail very good?



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

Attachment: signature.asc
Description: This is a digitally signed message part.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]