On 24.03.23 13:55, Arrigo Triulzi via Postfix-users wrote:
I am trying to migrate my personal Sendmail setup (five domains) to Postfix and I am not entirely sure how to replicate what I have at the moment.Each domain has a different server and each of them acts as secondary for the other domains: domain1 & 2: server1 (primary, MX 10) server2 (MX 20) server3 (MX 30) domain3: server2 (primary, MX 10) server1 (MX 20) server3 (MX 30) domain4 & 5: server3 (primary, MX 10) server1 (MX 20) server2 (MX 10)What I would do is setup Postfix using relay_domains for domain1 through domain5, local_recipient_maps for the domain which ends on the server and use transport_maps for the domains to be relayed.
you don't need transport_maps if the mail is to be delivered according to MX records. transport_maps is needed to override that.
Such domains only need to be in relay_domains.
Does that make sense or is there a better / recommended setup?
I would think about configuring relay_recipient_maps for non-local domains if possible -- Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Windows 2000: 640 MB ought to be enough for anybody _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
