2

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?

1

I found the answer here.

You can use sender-dependant aliases like that:

main.cf:
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access

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