procmail
[Top] [All Lists]

Trapping multiple subject lines into a single file

2010-01-12 09:59:25
I want any email with six specific subject lines to go into a seperate
folder.  I have in my procmail rules

:0:
* ^Subject:.( *Distribution List for Vault | 
              *Report to Accompany off-site Media |
              *Picking List for Robot |
              *Picking List for Vault |
              *Detailed Distribution List |
              *Off-site Inventory )
/opt/home/cbarnard/mail/backupstatus

but only the last one is being trapped.  I have found many examples (and
I use) rules that send a single message to multiple folders, but I have
not found any examples where multiple messages are sent to the same
folder (without there being a separate rule for every subject line).  

How would I correctly combine these subject line options into a single
rule?

-- 
Christopher L. Barnard
---------------------------------------------------------------------
Comment your code as though the maintainer will be a homicidal maniac
who knows where you live.



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>