procmail
[Top] [All Lists]

Bouncing Bad Addresses

2002-06-28 14:47:05
I need to create a bounce recipe which will be at the end of a rather 
lengthy .procmailrc that will bounce any other email which does not 
match any email address in .procmailrc.  All addresses on this server are 
routed though Procmail.

I have written the recipe through the point of extracting the From: and 
changing the To: to the from value, rewritting the Subject: (Delivery 
Failure), and placing a short message explaining that the address is 
invalid in the body.  

What has me stumped: I would like to echo the original header and body 
at the end of the new body.  Any suggestions?


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>