Chuck (and Bob) Campbell asked:
Is it valid to combine recipes like this?
:0:
* ^TOsunmanagers
* ^From.*sunmanagers
* ^Subject:.*summ
* ^Subject:.*faq
sunmgr
:0:
* ^TOsunmanagers
* ^From.*sunmanagers
sunmgrall
Not that way. Multiple conditions on a recipe are ANDed; you're listing
one after another and expecting procmail to guess the specific admixture
of ANDs and ORs that's on your mind.
> Is there a way to do it all from one recipe?
Settle for two?
:0:
* (^TO|^From:.*)sunmanagers
* ^Subject:.*(summ|faq)
sunmgr
:0:
* (^TO|^From:.*)sunmanagers
sunmgrall
or better yet,
:0
* (^TO|^From:.*)sunmanagers
{
:0:
* ^Subject:.*(summ|faq)
sunmgr
:0E:
sunmgrall
}
You might also consider using ^TO_ instead of ^TO if your procmail
version supports ^TO_ (unless there's a hyphen before "sunmanagers").
[Seven-line signature]
Maybe I shouldn't have helped.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail