|
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
my postfix server should deliver mail for two domains: domainA.it and
domainA.com (yes, the domain name is the same, but the suffix change). some site reports that the solution is in "relay_domains = hash:/etc/postfix/relay_domains" and "transport_maps = hash:/etc/postfix/transport" parameters in main.cf, using external text files containing: /etc/postfix/transport: domainA.it smtp:x.x.x.x domainA.com smtp:x.x.x.x /etc/postfix/relay_domains domainA.it OK domainA.com OK (x.x.x.x is the mailserver on the local network) can anyone confirm this idea since i have found lots of different solutions and i don't know which is the better and if this method is correct. Thanks, paolino |
|
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
Paolino,
Your concept looks okay to me, assuming that your host is acting as a relay between the outside world and those 2 domain names and systems. Also take a look at "mynetworks" in: man 5 postconf You'll probably want make sure those 2 systems are in mynetworks if you expect them to relay outgoing email via your site. There's some documentation at http://www.postfix.org/documentation.html under "SMTP Relay/access control". -- Greg paolino@30gigs.com wrote: > my postfix server should deliver mail for two domains: domainA.it and > domainA.com (yes, the domain name is the same, but the suffix change). > some site reports that the solution is in "relay_domains = > hash:/etc/postfix/relay_domains" and "transport_maps = > hash:/etc/postfix/transport" parameters in main.cf, using external text > files containing: > > /etc/postfix/transport: > domainA.it smtp:x.x.x.x > domainA.com smtp:x.x.x.x > > /etc/postfix/relay_domains > domainA.it OK > domainA.com OK > > (x.x.x.x is the mailserver on the local network) > > can anyone confirm this idea since i have found lots of different > solutions and i don't know which is the better and if this method is > correct. > > Thanks, > paolino > |
|
![]() |
| Outils de la discussion | |
|
|