Oh. So my rule should be like this?
:0:
* ^Subject:.*(Distribution List for Vault|Tapes brought onsite|Vault Status|Repo
rt to Accompany off-site Media|Picking List for Robot|Picking List for Vault|Det
ailed Distribution List|Off-site Inventory|cleaning stats|problems log)
{
:0
* ^From:.*<root(_at_)rudun-nbmaster00
/opt/home/cbarnard/bkup.rudu-nbmaster-vault
:0
* ^From:.*dmznb
/opt/home/cbarnard/bkup-dmznb-vault
:0
* ^From:.*nbmaster.cc1.rpslmc.edu
/opt/home/cbarnard/bkup-nbmaster-vault
}
/opt/home/cbarnard/mail/bkup-fallthrough-vault
Christopher
On Fri, 2010-03-05 at 16:16 -0500, Charles Gregory wrote:
On Fri, 5 Mar 2010, Christopher L. Barnard wrote:
This is all one recipe. So the ":0" is on the line before ^Subject, and
then the ^From switch is within the recipe. So my understanding is that
they should not have individual :0 lines.
Incorrect. Once you open the set of braces you must specify either one or
more recipes with their own :0 at the beginning of each, AND/OR you could
specify some form of variable assignment. Procmail will only treat the
recipe as 'delivering' if there is a successful 'delivering' recipe within
the braces. That's why you need the :0 line, so that you may specify flags
for each recipe inside.
- C
____________________________________________________________
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
____________________________________________________________
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