Page 1 of 1
multiple domain
Posted: 25 Sep 2018 20:11
by wclune
Hi newbie sort of question.... I have for many years been running a roaring penguin canit appliance, but since their sale to appriver it is clear we cant afford that any longer. I house email for some friends and family domains, a few hobby club emails with a handful of commercial "customers" making it worth doing.... is EFA capable of being an MX server for multiple domains, with each having its own "stream"?
Re: multiple domain
Posted: 25 Sep 2018 21:34
by thewomble
The short answer is yes, it supports as many domains as you want to front.
EFA is mailgateway, it not a mail server for accounts, I use it to front an Microsoft exchange environment, so you would also a server behind for IMAP and POP accounts and webmail , eg
https://www.dovecot.org/
However see
viewtopic.php?f=8&t=3142 regarding the possibility of an "All in one mailserver"
Re: multiple domain
Posted: 26 Sep 2018 12:39
by wclune
Thanks! This is just to replace the MX server which is in front of a pop/imap and 2 exchanges.
I'll dig a bit deeper thanks.
Re: multiple domain
Posted: 27 Sep 2018 10:53
by thewomble
in etc/postfix/main.cf add you domains to line
relay_domains = domain1.com, domain2.com, domain3.com
in etc/postfix/transport
domain1.com smtp:[x.x.x.x]
domain2.com smtp:[x.x.x.x]
domain3.com smtp:[x.x.x.x]
where x.x.x.x is your exchnage server
remember to do "postmap /etc/postfix/transport"