1. D. Axel

    Hi, thanks for the tutorial. Your tutorial works for me. But, somehow, I noticed that my postfix can still send email from unlisted domain on sender_relay.

    How do I restrict postfix to only send from domains listed in the sender_relay?

    Many thanks!

    • wes

      It sounds like you configured a catchall domain in /etc/postfix/sasl_passwd. Removing the following line from that file should resolve the issue:

      [smtp.mailgun.org]:587 postmaster@:

      Be sure to postmap the file and restart postfix!

Leave a Reply

Your email address will not be published. Required fields are marked *