Hello,

i would like to create the following setup for two postfix servers.

The setup:

Server A is the smtp(s) server and the MX record for some domains.
He accepts mail from clients over sasl/tls for delivery to the internet or to the domains.
He does forward all external mail to Server B
He works as a mail-gateway

Server B has no MX record, but takes all mails from Server A, stores them locally (for access via IMAP) or delivers them to hosts from the domains. All outbound mail will NOT be delivered directly, but transported to the mail-gateway Server A, which in turn delivers to the internet. This may, the MX server will the the source of such mail ...

So, all external input or output will be done by Server A.
Internal delivery will be done by Server B, while all other domains will be forwared to Server A again ...

This sound like a possible loop :-/


I have some ideas about mydestinaton, relay_domains, mynetworks and a transport map, but i feel that there may be a easy and RECOMMENED way to create such a setup ...

Can anybody give me a hint about the best direction to go?

Thank you!

Reply via email to