This is a discussion on 2 domains same users within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hello I have 2 domains registered 1 .com and the other .net. How can I receive emails from the 2 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Miguel Lopes schrieb:
> Hello I have 2 domains registered 1 .com and the other .net. > How can I receive emails from the 2 doamins??the users are the same the > machine is the same. Just put all domains into the field "mydestination" in main.cf: mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain, yourdomain.com, yourdomain.net (the first two lines are postfix default) -Matt |
|
|||
|
Miguel Lopes:
> How can I receive emails from the 2 doamins??the users are the same the > machine is the same. > pico virtual_alias_maps # domain1 # vaed@domain1 this_is_me # domain2 # vaed@domain2 this_is_me > ./update If one of the domains is your main domain then > pico /etc/aliases vead: this_is_me > cd /postfix > ./update -- Floor |
![]() |
| Thread Tools | |
| Display Modes | |
|
|