Is there a way to get Postfix to both forward an e-mail *and* reject it via recipient_address_rejected

Posted by Mac on Server Fault See other posts from Server Fault or by Mac
Published on 2012-11-20T20:31:59Z Indexed on 2012/11/20 23:04 UTC
Read the original article Hit count: 191

Filed under:
|

In postfix, I'd like a way to deal with e-mail accounts that are no longer active by having postfix send the standard "Recipient address rejected" type message, but still forwarding the e-mail to another user. Thus, if someone sends an e-mail to [email protected], it will bounce the message back to the sender for future reference, but the mail will still get forwarded to [email protected] to deal with. .vacation and / or .forward files let me down because they will either reply or forward, but not both. Any tips?

© Server Fault or respective owner

Related posts about postfix

Related posts about email-bounces