Alternate SMTP Transport

gzuercher

New Member
May 21, 2014
4
0
1
Hi All,

we have a mail gateway in the datacenter (no cluster) and a smtp route to our internal mail server. We have 2 internet connections for our internal network. So the mail gateway sends mail always through one of these two internet connections. Is there a possibility to send mail through an alternative SMTP Transport to our internal server when one of the two internet connections is down?

cheers

Guy
 
You can define a transport using a DNS name. Then the MX record (if one exists) for that host is used to deliver the mail.
 
Hi Dietmar, thanks for the quick response. If i understand your proposal correctly we would need a subdomain, to forward these mails. Like this for ex:

main.tld -> MX point to Proxmox Mail Gateway
sub.main.tld -> MX with different priorities point to internal mail server
 
If i understand your proposal correctly we would need a subdomain,
sub.main.tld -> MX with different priorities point to internal mail server

Well, you do not really need a 'subdomain'. You just add A DNS entry for a hostname which contains an MX.
 
Sorry i seem to be at loss. Do you mean to create the following two DNS record?

incoming.main.tld IN MX 100 internet-connection1.main.tld
incoming.main.tld IN MX 200 internet-connection2.main.tld

Altough this would technically be a subdomain, no?