Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to make DNS changes to enable email to be sent using hMailServer.

My mail server is on a separate machine with a separate IP Address.

I have already added and an email account

I have create a MX Record with the mail server being an a priority on 20.

1) But the question is how do I now link this MX record for the domain to my mail server/ mail server IP Address?

2) What changes are needed in hMailServer to complete the process and be able to send emails for the domain?

3) In Settings > SMTP > Delivery of email: What should my configuration here look like?

share|improve this question
I've also added the host as and added an A Record for to the mail server IP Address – asn187 Jan 10 '10 at 17:42
Tracked the problem down to this: No reverse DNS (PTR) entries. The problem MX records are: -> no reverse (PTR) detected What/How do I add a Reverse PTR? – asn187 Jan 10 '10 at 18:53
Take a look at - it will diagnostics and point you in the right direction. – Khalid Rahaman Jan 10 '10 at 19:51
Well all I had to do was add in a RDNS which is basically just a PTR. After that I had to disable Clamwin antivirus from scanning emails. Everything worked perfect after that. – asn187 Jan 10 '10 at 21:07

Based on your second comment that you've tracked it down to reverse PTRs, then you need to have your reverse zone have the matching pointers for MX records. If you don't run your own reverse DNS then you'd have to ask the entity who does (the people upstream from you owning the netblock) to add these entries for you.

<last .quad of IP>  IN   PTR

This goes in the reverse zone file as mentioned, not your forward zone. A quick whois based on your comment of shows it's Rapidswitch owned, so I'm going to guess they do your reverse for you and you only get a few IPs of a hosted server to play with - open a support ticket.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.