On Thu 20/Dec/2012 20:59:13 +0100 Vitex wrote:
Dne 20.12.2012 20:46, Reindl Harald napsal(a):
Am 20.12.2012 20:36, schrieb Vitex:
We are runnig ISPConfig hosting with dedicated mailserver. Here is small patch to login if web's A and MX is different. Sorry for previous mistake. Please include it in new release.
but who says that MX is the IMAP server? on any larger setup it is not
you have:
- A: website
- MX: spamfirewall appliance
- Another A for POP3/IMAP
MX is not hepful here for webmail and plain wrong
[Vitex reply moved here for readability]
Thanks for fast response. The roundcube admin says that MX is IMAP server in main.inc.php . As you can see, my patch add new macro %x for $rcmail_config['default_host'] values. This is custom feature only for case of difference A and MX.
I did not find better solution in pure configuration only.
Harald is correct, MX is wrong in many cases. Admins who want their IMAP servers to be automatically known should use SRV records. See http://tools.ietf.org/html/rfc6186#section-3.2
Happy End of the World!