procmail
[Top] [All Lists]

Re: why is this not right?

2010-03-06 20:12:19
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

Attachment: signature.txt
Description: Digital signature

____________________________________________________________
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>