procmail
[Top] [All Lists]

Re: Cutting to the chase?

2006-02-13 08:32:53
On 13 Feb 2006, at 00:11 , Michael Bluejay wrote:
I have a bunch of recipes the action line sets the variable BOUNCE =
"(bounce reason)" if a condition is met.  Then at the end of the  
file I
check if BOUNCE contains a value, and if so I call formail to bounce
the message, telling the sender what the specific bounce reason is.

So you are happily relaying spam to the spoofed From address?  Nice.

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.

INCLUDERC


-- 
"Here comes sunrise.  Yeah, here's your sunrise.  I used to hide from  
the sun, tried to live my whole life underground, why'd you have to  
rise and ruin all my fun?  Just turn over; close the curtains on the  
day."



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