Postfix with multiple domains

Discussion in 'Server Operation' started by semeral, Mar 9, 2018.

  1. semeral

    semeral New Member

    Hi, I am completely new to all this. I just managed to get postfix to receive e-mails from two domains, say domain1.eu and domain2.eu. I have squirrelmail set up for each domain, on mail.domain1.eu and mail.domain2.eu.

    Is there a way to set up postfix in such way that I can choose whether to send mail from domain1.eu or from domain2.eu? Right now all e-mails are coming from domain1.eu.

    Does it have something to do with $mydomain, $myorigin? Do I set it up using local/remote_header_rewrite_domain?

    Thanks for you patience and reply...

    Lukas
     

Share This Page