procmail
[Top] [All Lists]

Re: Cutting to the chase?

2006-02-13 01:04:10
Michael Bluejay wrote:

I know I can invoke formail as the action line for each recipe instead 
of just setting BOUNCE="...", but that would make my .procmailrc file 
pretty big, since the formail action spans a few lines and I'd be 
repeating it dozens of times.  Also, that would the ability to edit the 
action in one place, since it would be everywhere.
 

This should work (untested):

BOUNCEACTION="formail ..."

:0
* spamcondition
| $BOUNCEACTION

-- 
Klaus Johannes Rusch
KlausRusch(_at_)atmedia(_dot_)net
http://www.atmedia.net/KlausRusch/


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