PDA

View Full Version : Mail Service and MX Records




Kenrik
Feb 18, 2011, 09:35 AM
Ok so I need some help with the mail service on OSX 10.6 Server

I'm using GoDaddy for my domain name and GoDaddy DNS Total Control to handle my DNS stuff. The Server is Hosted on a Comcast Static Business IP.

I have my A name pointed at my IP address. XX.XX.XX.XX
I have a wildcard a name pointed at my IP *.mydomain.com.

If I try anything *.mydomain.com. it resolves without an issue. (wordpress Multisite is working with subdomains)

For my MX records I did mail.mydomain.com. and pointed it at my IP from GoDaddy.

On my gateway (mydomain.com.) that handles the network DNS for me I forwarded ports 25, 110 and 143 to my OSX 10.6 Server Box (server.mydomain.com.)

The problem is I can't seem to receive mail!
I know my DNS is setup correctly on the Server box as I have Open Directory and Kerberos, Xgrid, Mail etc... working internally.

Any ideas?



logandzwon
Feb 18, 2011, 09:46 AM
Ok so I need some help with the mail service on OSX 10.6 Server

I'm using GoDaddy for my domain name and GoDaddy DNS Total Control to handle my DNS stuff. The Server is Hosted on a Comcast Static Business IP.

I have my A name pointed at my IP address. XX.XX.XX.XX
I have a wildcard a name pointed at my IP *.mydomain.com

If I try anything *.mydomain.com it resolves without an issue. (wordpress Multisite is working with subdomains)

For my MX records I did mail.mydomain.com and pointed it at my IP from GoDaddy.

On my gateway (mydomain.com) that handles the network DNS for me I forwarded ports 25, 110 and 143 to my OSX 10.6 Server Box (server.mydomain.com)

The problem is I can't seem to receive mail!
I know my DNS is setup correctly on the Server box as I have Open Directory and Kerberos, Xgrid, Mail etc... working internally.

Any ideas?

OK first off, in your dns you should have;

mydomain.com. MX 10 mail.mydomain.com.
mail A XX.XX.XX.XX


Assuming you do, you should have some outside your network make sure they resolve correctly.

Assuming that works, have someone outside your network telnet to port 25 or 143 on mail.mydomain.com


Oh and DNS being correct on your server doesn't matter for external mail servers to be able to find you.

Kenrik
Feb 18, 2011, 01:10 PM
OK first off, in your dns you should have;

mydomain.com. MX 10 mail.mydomain.com.
mail A XX.XX.XX.XX


Assuming you do, you should have some outside your network make sure they resolve correctly.

Assuming that works, have someone outside your network telnet to port 25 or 143 on mail.mydomain.com


Oh and DNS being correct on your server doesn't matter for external mail servers to be able to find you.

I just pointed everything at my "A" record with "@" and let my gateway sort out the forwards to the server. Now everything works.

Pretty much nothing works in OSX Server without DNS being setup correctly. How would the mail service even function if my internal DNS was not setup right? it would not find the server or direct it to the right place?

Waragainstsleep
Feb 22, 2011, 09:32 AM
You are correct. Bad DNS on your Mac Server will kill virtually everything.
From your first post it sounded like you simply hadn't set the MX record.

Anyway, glad you got it all solved.