And a further followup from myself.
Thanks folks. I have made those changes. However, the "fallthrough"
for the Subject line rule needs to be within the close }. All my email
was going there, regardless of whether the Subject matched or not. So
it should have been (and is now)
:0
* ^Subject: yadda yadda yadda
{
:0:
* ^From: server-one
/opt/home/cbarnard/mail/dest-one
:0:
* ^From: server-two
/opt/home/cbarnard/mail/dest-two
:0:
* From: server-three
/opt/home/cbarnard/mail/dest-three
:0:
/opt/home/cbarnard/mail/dest-none-of-the-above
}
Christopher
On Sat, 2010-03-06 at 21:12 -0500, Ed Blackman wrote:
On Fri, Mar 05, 2010 at 03:33:23PM -0600, Christopher L. Barnard wrote:
Oh. So my rule should be like this?
Close. Two problems. As Michelle noted, you need a recipe marker
(":0") on your fallthrough recipe. Additionally, you ask for a local
lockfile (trailing ":" on the recipe line) on your Subject recipe even
though it doesn't directly deliver and thus doesn't need one, but don't
on the actual delivering recipes.
Try:
: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
}
:0:
/opt/home/cbarnard/mail/bkup-fallthrough-vault
Ed
____________________________________________________________
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