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

Re: Procmail Recipies



Hi!

On Sun May 11, 2003 at 08:02:15AM -0700, Jerry wrote:
> Is it possible to put two filters in the same procmail recipie? Like this:
> 
> :0
> *^To.*debian-user@lists.debian.org
> *^Cc.*debian-user@lists.debian.org
> Debian-User

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).

If you really need to OR two filters use this:

:0
* ^Foo:.*foo@foo\.com|\
  ^Bar:.*bar@bar\.com
foobar

so long
Thomas

-- 
 .''`.  Obviously we do not want to leave zombies around. - W. R. Stevens
: :'  : Thomas Krennwallner <djmaecki at ull dot at>
`. `'`  1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446  DAD9 FF58 4E59 67A1 DA7B
  `-    http://bigfish.ull.at/~djmaecki/



Reply to: