Link to home
Create AccountLog in
Avatar of ITmanage
ITmanageFlag for United States of America

asked on

Need help with godaddy DNS settings for email server

So I have static ip 216.xxx.xxx.163, and 216.xxx.xxx.164. On 164 I have the webserver at domain.com, which appears to work perfectly. Now, my 163 is my email server. I set up postfix/dovecot, etc, and use squirrelmail for webmail. Through the zone file the hostname is email.domain.com. Now I set up an address record which points to the IP address, and I can get to squirrelmail by typing in email.domain.com. I set up an mx record email.domain.com as well. I 1) can't access my server ports, etc by domain name when trying to set up a test account through an email client (thunderbird). I can through ip address however. Number two, when trying to send an email through the web interface I get nothing to the recipient, which I think both stem from the same problem. What records in godaddy do I need to set up specifically? Any help would be appreciated.
Avatar of ITmanage
ITmanage
Flag of United States of America image

ASKER

Scratch the being able to set up through IP address this isn't working either. Got SMTP Reverse DNS Mismatch       Warning - Reverse DNS does not match SMTP Banner through mx toolbox
ASKER CERTIFIED SOLUTION
Avatar of Sudeep Sharma
Sudeep Sharma
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Well, I had everything set up correctly there. I did all that Friday evening, and was able to get on for web based email, and the server was receiving messages Saturday morning. The problem is that either my firewall is dropping the packets (watchguard) or it is because the SMTP banner reverse DNS didn't match, which a reverse DNS lookup shows the original ISP domain, and not mine. I spoke with them Saturday and they acted like they could not change that, but I am seeing that alot of domains will reject email if the reverse DNS doesn't match. So for my SMTP banner in main.cf of postfix I guess it just needs to be email.mydomain.com? BTW, thanks for help everyone. I will split the points, because I know you all are correct, just looking for other answers as well as to why I can't send (assuming it isn't my firewall, which I am looking into now).
Could you be a little more specific describing the current problem?  Are you having issues sending or receiving?  Sending issues would have nothing to do with DNS or reverse DNS.  If there were a reverse DNS issue, the email would be sent successfully, but might end up in the recipient's spam because of the reverse DNS failure.  Your email server also might end up on some block lists due to reverse DNS issues.

However, if you're having problems receiving it has nothing to do with reverse DNS.  If your email server A and MX records are configured properly you would not have any problems receiving.  You might, however, have problems receiving if your Watchguard firewall doesn't have a policy set up to forward incoming SMTP packets to your email server's internal (behind the firewall) IP address.

Also, BTW, you should set up an SPF record at GoDaddy for your domain, as this will help prevent email address spoofing of your domain by spammers.
Yeah, I was able to get email fine, and did set up an SPF record, but could not send. Now when I test using another gateway it sends fine. So I was assuming a firewall problem, and it appears it is a firewall setting for Secure ports, which I have another question set up at:

https://www.experts-exchange.com/questions/28027671/can-you-set-up-a-watchguard-firewall-policy-for-secure-email-using-ports-465-995.html