Multiple Domains on 1 IP - Hostname question
Question asked by Phill Healey - 1/4/2018 at 5:11 PM
I have a server hosting email for about 10 domains using 1 IP address. The setup is something like this:
Server hostname:
For simplicity, we will be asking clients of all domains to login to email via:
For simplicity let's say that our clients domains are named:
So, what do we put for the HOSTNAME for smartermail general settings?
What do we put for the HOSTNAME of each domain?
Also what should we enter as the reverse DNS for the server?
Anyone know how we should set this up?

5 Replies

Reply to Thread
Merle Wait Replied
so... first.. what SM version are you on. 
and second,  for your server to send out  emails .. yes you  will have to reverse DNS set AND, usually your broadband provider, has to put in reverse look-up for your server on their end as well.
Phill Healey Replied
Are you sure you are answering on the right question here. What's my broadband provider got to do with anything. We're talking about a proper Smartermail Win Server 2016 installation on a VPS.

Not to worry we've got the answer we need thanks.
Stephen Smith Replied
I have this exact same question!
echoDreamz Replied
I believe they are saying your upstream provider (whoever owns your IP block) needs to setup the PTR records on their end. Unless they delegate PTR control to you, then you can set it up. If not, you need to setup the correct forward DNS records and then your provider set the PTR records on their end.
Stephen Smith Replied
OK, for those that might stumble on this thread in the future.   Here is how I solved this issue, and attained a perfect SpamAssassin score with our multidomain mail system.

1) Yes, PTR must be set up by hosting provider,  and the IP you should be using is the publicly exposed mailserver IP (can be obtained by taking your RAW email header and put it into any email header analysis website). This will show the IP and main host header you are expressing in your SMTP banner via SmarterMail.  There is only one expressed, even if you have 50 domains.

2)  The second important, and key point, is that you must setup DNS record for that host header record (mine is securemail.stevemail.com)   and the IP address used in the dns record of securemail.stevemail.com  MUST be the same as what is being expressed in your SMTP banner.

Those to reverse DNS and forward DNS settings must match, and then you are golden.  I saw someone illustrate the records like this: 
   host header domain >>>> 344.24.12.761    must match
 344.24.12.761   >>>> host header domain

A good email testing system is http://www.mail-tester.com

Reply to Thread