is there a simple way to grab the mail servers mx records or a dns record that we can do a test against to determine which mail server the client is on and then, display the correct info for that mail server, ie the https:// settings so they can configure the mail server with ssl/tls. We dont have certificates on each cliejnts domains, so we have our servers set as secure10.xxx.xx.xx, secure11.xxx.xx.xx, etc where the 10, 11 refers to the ip address of the server, so if we can test the smtp pointer and retrieve the ip address we can selectively display the correct servers info to the client ?
Hello,
Which mail server are you using? I know with exchange you can set the OWA URL and use that in the mail template using #OwaUrl#.
Regards,
Trevor
we running smartermail, we setup the clients urls as webmail.xx.xx.xx i have got a cert running on secure10.xx.xx.xx and have setup a urlrewrite to redirect anyone coming in to the webmail with no https to redirect to the secure url, that works fine, however if I try redirect a https://webmail.xx.xx.xx request, the cert error appears before url rewrite can redirect, or maybe its some other issue.
However I wanted to put the correct url for the right mail server in the message sent to the client so they could just use it to setup mail etc, we run multiple mail servers in the virtual server in solidcp as we load balance the guys across multiple mail, db and web servers that is where the snooker comes in.. 😉