Custom Queue treats Hostname as a Domain
-
Hi,
I setup a custom queue using an IP address as the destination mail-server and it worked as expected. I then replaced the IP address with the hostname of the external mail-server and MDaemon attempted to lookup the MX records of the hostname, didn't find any and the sending failed. I got round the problem by making an entry in the MX Cache section in the format:-
exernalserver.domain.com 5 externalserver.domain.com
and this worked.
I think MDaemon is treating the Hostname entry as a Domain. Either this is an error or the documentation/wording should be clearer.
Chris
-
Arron Staff
You should be able to put the host name inside brackets to cause MDaemon to do an A record lookup instead of an MX record lookup. For example [mail.mdaemon.com] as the hostname or IP will do an A record lookup, while mail.mdaemon.com will do an MX record lookup.
I'll put in a request to have the documentation updated.
-
Arron,
Thanks for that. I had forgotten about the convention of putting the hostname inside square brackets.
Chris