I'm running postfix on Debian, receiving email for my.com, and I would like all incoming emails from sender.com to be delivered to jack@my.com, regardless of the original recipient.

Emails from other domains still need to go to the original recipient.

Is this possible/easy to set up?


I found the answer here.

You can use sender-dependant aliases like that:

smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access

sender.com redirect jack@my.com

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy