Thomas Krennwallner wrote: > I think it should look like this: > > :0 > * ^TO_debian-user@lists\.debian\.org > Debian-User > > TO_ stands for all destination specifications of an address. See > procmailrc(5). Almost. You forgot to say ":0:" and just said ":0". You need the trailing colon in order to have procmail use a lockfile. Unless you can prove to yourself that you will never have multiple deliveries happening at the same time you need the lockfile to semaphore modifications and prevent mailbox corruption. (And you might be able to prove that in your specific case. But generally there may be multiple programs writing to that file.) :0: * ^TO_debian-user@lists\.debian\.org Debian-User > If you really need to OR two filters use this: > > :0 > * ^Foo:.*foo@foo\.com|\ > ^Bar:.*bar@bar\.com > foobar I prefer using the score syntax myself to create OR logic. :0: * 1^0 ^Foo:.*foo@foo\.com * 1^0 ^Bar:.*bar@bar\.com foobar Look at 'man procmailsc' to get the details. But basically if either rule matches the score is set to one and positive scores match. This effectively makes an OR out of the logic. Bob
Attachment:
pgpnjxaOUAWiL.pgp
Description: PGP signature