#StackBounty: #postfix POSTFIX how to use a relayserver just for a specific domain?

Bounty: 100

I have two email servers: mx1.example.com (IMAP, SMTP) and mx2.example.com (SMTP gateway).

  • mx1.example.com is handling email for example.com,
    example.net and example.org.
  • mx2.example.com is configured as a gateway for mx1.example.com

    (I want him to send out all mails that originate from
    mx1.example.com)

Now I want to send the emails

  • from example.com and example.net via mx1.example.com normally
  • from example.org via mx1.example.com (password auth) to the gateway mx2.example.com (IP).

How can I configure this?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.