chatmail icon indicating copy to clipboard operation
chatmail copied to clipboard

Move MX record to its own subdomain

Open link2xt opened this issue 1 year ago • 4 comments

link2xt avatar Aug 15 '24 12:08 link2xt

changelog entry is missing.

hpk42 avatar Sep 02 '24 21:09 hpk42

hum, i'd say it's a BREAKING change, in that updating to this change requires changing DNS/a chatmail server's setup. therefore, also please provide a reason for this change.

hpk42 avatar Sep 03 '24 11:09 hpk42

What is the purpose of the MX record here anyway? Everything will fall back to the A/AAAA record so it's really unnecessary unless you have a more complicated architecture and want multiple MX records with priorities

feld avatar Sep 24 '24 18:09 feld

@feld

Everything will fall back to the A/AAAA record so it's really unnecessary unless you have a more complicated architecture and want multiple MX records with priorities.

The reason for this PR was that I wanted to point MX record to a different IP addresses that have port 25 open and DNAT to the real server IP address. So even when you have a single MX record a little more flexibility is useful when you have trouble opening port 25.

link2xt avatar Sep 26 '24 11:09 link2xt

Please provide a reason for this change. i can guess but it's not clear to me, sorry. Also, would the letsencrypt certs not need to be adapted for "mx.maildomain"?

One reason is that we can then add proxy VPSs for IMAP+SMTP usage only, but not as MX. This makes it okay if a proxy is slightly fragile, as we know that the IP caches of Delta Chat can handle it, even if other SMTP servers might not.

missytake avatar Nov 22 '24 17:11 missytake