Quote:
Originally Posted by ArcaneMagus So basically you have for some reason set your server's FQDN to hostname.example.tld, but you want all access to the server to be via mail.example.tld? |
NO, I would prefer, like any other mail server, that mail services be accessible from a dns name, in this case I prefer: mail.example.tld - not so crazy.
And that all internal services, such as ldap, communicate via the hostname; eg: uri ldap://hostname.example.tld - also not so crazy.
Quote:
Originally Posted by ArcaneMagus Just leave everything the way it is, and in DNS set the A record for mail.example.tld to the same IP address. You might also want to set a virtual host on the zimbra server to mail.example.tld. |
These are the relevant bits of the 'Internal View' dns map. This has been in place while I've been testing.
Code:
# cat /var/named/chroot/var/named/example.tld.zone
$TTL 1H
@ SOA hostname root.example.tld. (
42 ; serial
3H ; refresh
1H ; retry
1W ; expiry
1H ) ; minimum
NS hostname
IN NS hostname
IN MX 5 mail
IN A 10.0.0.14
hostname IN A 10.0.0.14
mail IN A 10.0.0.14 I will test the virtual host next. As you've suggested.
Quote:
Originally Posted by ArcaneMagus Zimbra doesn't really care what hostname people use to access the server, the only part where it matters is the login screen where if users are not accessing via the FQDN they would need to enter their account name as "account@example.tld", however if you set a virtual host on the users domain to the address they are accessing the server by, then the server will know to add the "@example.tld" part for them. |
Well, this is true, Zimbra doesn't really care what hostname people use to access the server, but the client
does care. If you use Thunderbird to test this, it asks you if you would like to accept the certificate. I always answer Yes / Permanently. Moments later, Thunderbird displays a message to the user:
Security Error: Domain Name Mismatch
You have attempted to establish a connection with mail.example.tld. However, the security certificate belongs to hostname.example.tld...
This message will display at intervals. I'm not sure how often exactly but let's just call it ever 10 minutes - it's incredibly annoying.
I understand this makes it a compound problem but, first things first. I'll test the virtual host, if the only way to achieve this, it just seems a bit convoluted.
Thanks in advance,
todd_dsm
Don't forget to Vote for this RFE:
RFE: A place To Display the contents of 'My Documents' Reasoning: It's new, bold, and cool.