procmail
[Top] [All Lists]

Re: Postfix and Procmail soft-bouce or autoreply

2007-06-22 15:59:37
Dale Schuster wrote:
I am having a hard time conceptualizing a solution to this project.  I 
am  
using a postfix SMTP server to relay mail for three separate domains. 
This  
server will be the entry point to our network and should relay messages  
addressed to "<anyone>@official.domain.com 
<http://official.domain.com>" to another SMTP mail hub for  
delivery.  It should also collect e-mail addressed to two other 
deprecated  
domains, notify the sender that the domain name has changed, and also  
deliver the message to the same SMTP mail hub for delivery.  The 
delivered  
messages should include a tag in the body informing the recipient that  
this message was addressed to the old (soon-to-be invalid) address.  
The  
message bounced back to the sender should NOT contain the new address or  
domain name, but a generic message to contact  
postmaster(_at_)official(_dot_)domain(_dot_)com 
<mailto:postmaster(_at_)official(_dot_)domain(_dot_)com>.

Check: http://lipas.uwasa.fi/~ts/info/proctips.html#newaddr for an approach.

Obviously, you will change the auto-reply text accordingly, but other 
thanthat, I think this will be close to what you want.

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