procmail
[Top] [All Lists]

Re: Cutting to the chase?

2006-02-13 01:12:32
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


Thanks for the quick reply.  I didn't know I could do that.  But even 
if it works it looks like I can't specify the specific bounce reason in 
my bounce message, right?  Such as, "the message was too big", or "I'm 
no longer using that address", or "It looks like spam." ???


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