ssr
asked on
How can I verify my MX record is correct?
I am trying to setup an e-mail server on my domain (dodrill.us), and I need to figure out if my MX record exists and is correct. Can you please tell me how I can do this?
Thanks,
SSR
Thanks,
SSR
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Your backup MX looks ok though :
# telnet bubbleator.drizzle.com 25
Trying 216.162.192.19...
Connected to bubbleator.drizzle.com.
Escape character is '^]'.
220 bubbleator.drizzle.com ESMTP Sendmail 8.12.9/8.12.9; Mon, 1 Sep 2003 08:19:48 -0700
helo you
250 bubbleator.drizzle.com Hello host.domain.com [aaa.bb.ccc.dd], pleased to meet you
mail from: _nn_@experts-exchange.com
250 2.1.0 _nn_@experts-exchange.com. .. Sender ok
rcpt to: postmaster@dodrill.us
250 2.1.5 postmaster@dodrill.us... Recipient ok
data
354 Enter mail, end with "." on a line by itself
Subject: just a test...
Hello,
just a telnet-test from _nn_ at EE
Cheers,
.
250 2.0.0 h81FJmSM010027 Message accepted for delivery
But you won't see that mail until your own mailserver is accepting connections...
# telnet bubbleator.drizzle.com 25
Trying 216.162.192.19...
Connected to bubbleator.drizzle.com.
Escape character is '^]'.
220 bubbleator.drizzle.com ESMTP Sendmail 8.12.9/8.12.9; Mon, 1 Sep 2003 08:19:48 -0700
helo you
250 bubbleator.drizzle.com Hello host.domain.com [aaa.bb.ccc.dd], pleased to meet you
mail from: _nn_@experts-exchange.com
250 2.1.0 _nn_@experts-exchange.com.
rcpt to: postmaster@dodrill.us
250 2.1.5 postmaster@dodrill.us... Recipient ok
data
354 Enter mail, end with "." on a line by itself
Subject: just a test...
Hello,
just a telnet-test from _nn_ at EE
Cheers,
.
250 2.0.0 h81FJmSM010027 Message accepted for delivery
But you won't see that mail until your own mailserver is accepting connections...
For your information (in case of), how to check an MX record with the Windows command-line :
C:\>nslookup
Default Server: ...
Address: ...
> set q=soa
> dodrill.us
Server: ...
Address: ...
Non-authoritative answer:
dodrill.us
primary name server = giantsquid.drizzle.com
responsible mail addr = dsysop.drizzle.com
serial = 2003081801
refresh = 10800 (3 hours)
retry = 1800 (30 mins)
expire = 3600000 (41 days 16 hours)
default TTL = 28800 (8 hours)
dodrill.us nameserver = acresofclams.drizzle.com
dodrill.us nameserver = giantsquid.drizzle.com
acresofclams.drizzle.com internet address = 216.162.192.4
giantsquid.drizzle.com internet address = 216.162.192.12
> server acresofclams.drizzle.com
Default Server: acresofclams.drizzle.com
Address: 216.162.192.4
> set q=mx
> dodrill.us
Server: acresofclams.drizzle.com
Address: 216.162.192.4
dodrill.us MX preference = 10, mail exchanger = mail.dodrill.us
dodrill.us MX preference = 20, mail exchanger = bubbleator.drizzle.com
dodrill.us nameserver = acresofclams.drizzle.com
dodrill.us nameserver = giantsquid.drizzle.com
mail.dodrill.us internet address = 216.162.218.100
bubbleator.drizzle.com internet address = 216.162.192.19
giantsquid.drizzle.com internet address = 216.162.192.12
acresofclams.drizzle.com internet address = 216.162.192.4
> exit
C:\>
With some more explanations :
C:\>nslookup
Default Server: ...
Address: ...
===> nslookup starts and tells us what servers it's gonna query
> set q=soa
===> we are interested in knowing who is authoritative for the domain (Start Of Authority)
> dodrill.us
(...)
dodrill.us nameserver = acresofclams.drizzle.com
(...)
acresofclams.drizzle.com internet address = 216.162.192.4
(...)
===> we got answers
===> let's connect to one of these authoritative servers :
> server acresofclams.drizzle.com
Default Server: acresofclams.drizzle.com
Address: 216.162.192.4
===> now we're interested in the MX record of the domain
> set q=mx
> dodrill.us
Server: acresofclams.drizzle.com
Address: 216.162.192.4
dodrill.us MX preference = 10, mail exchanger = mail.dodrill.us
dodrill.us MX preference = 20, mail exchanger = bubbleator.drizzle.com
mail.dodrill.us internet address = 216.162.218.100
bubbleator.drizzle.com internet address = 216.162.192.19
===> we got the answers, moreover from an authoritative source.
===> The lowest preference value is the "main" server.
C:\>nslookup
Default Server: ...
Address: ...
> set q=soa
> dodrill.us
Server: ...
Address: ...
Non-authoritative answer:
dodrill.us
primary name server = giantsquid.drizzle.com
responsible mail addr = dsysop.drizzle.com
serial = 2003081801
refresh = 10800 (3 hours)
retry = 1800 (30 mins)
expire = 3600000 (41 days 16 hours)
default TTL = 28800 (8 hours)
dodrill.us nameserver = acresofclams.drizzle.com
dodrill.us nameserver = giantsquid.drizzle.com
acresofclams.drizzle.com internet address = 216.162.192.4
giantsquid.drizzle.com internet address = 216.162.192.12
> server acresofclams.drizzle.com
Default Server: acresofclams.drizzle.com
Address: 216.162.192.4
> set q=mx
> dodrill.us
Server: acresofclams.drizzle.com
Address: 216.162.192.4
dodrill.us MX preference = 10, mail exchanger = mail.dodrill.us
dodrill.us MX preference = 20, mail exchanger = bubbleator.drizzle.com
dodrill.us nameserver = acresofclams.drizzle.com
dodrill.us nameserver = giantsquid.drizzle.com
mail.dodrill.us internet address = 216.162.218.100
bubbleator.drizzle.com internet address = 216.162.192.19
giantsquid.drizzle.com internet address = 216.162.192.12
acresofclams.drizzle.com internet address = 216.162.192.4
> exit
C:\>
With some more explanations :
C:\>nslookup
Default Server: ...
Address: ...
===> nslookup starts and tells us what servers it's gonna query
> set q=soa
===> we are interested in knowing who is authoritative for the domain (Start Of Authority)
> dodrill.us
(...)
dodrill.us nameserver = acresofclams.drizzle.com
(...)
acresofclams.drizzle.com internet address = 216.162.192.4
(...)
===> we got answers
===> let's connect to one of these authoritative servers :
> server acresofclams.drizzle.com
Default Server: acresofclams.drizzle.com
Address: 216.162.192.4
===> now we're interested in the MX record of the domain
> set q=mx
> dodrill.us
Server: acresofclams.drizzle.com
Address: 216.162.192.4
dodrill.us MX preference = 10, mail exchanger = mail.dodrill.us
dodrill.us MX preference = 20, mail exchanger = bubbleator.drizzle.com
mail.dodrill.us internet address = 216.162.218.100
bubbleator.drizzle.com internet address = 216.162.192.19
===> we got the answers, moreover from an authoritative source.
===> The lowest preference value is the "main" server.
ASKER
Great, thanks a lot. Is the problem with port 25 not being open related to a problem with IPTABLES? If you could point out where to look to open that port, that would be great.
Thanks,
SSR
Thanks,
SSR
>> Is the problem with port 25 not being open related to a problem with IPTABLES?
Quite possible. Other possibilities would be that sendmail isn't started for instance. What gives following command in a shell ?
# netstat -ant | grep :25
Quite possible. Other possibilities would be that sendmail isn't started for instance. What gives following command in a shell ?
# netstat -ant | grep :25
ASKER
Ok, I'm setting up QMAIL, instead of sendmail. There must be some other step I need to do, to get port 25 turned on.
SSR
SSR
ASKER
Sorry, I meant to answer your question too. :)
There is no output to the command, which I presume means that no process is listening to that port, or that port has been blocked.
SSR
There is no output to the command, which I presume means that no process is listening to that port, or that port has been blocked.
SSR
>> which I presume means that no process is listening to that port
Most likely.
>> or that port has been blocked.
Probably not.
>> Ok, I'm setting up QMAIL, instead of sendmail. There must be some other step I need to do, to get port 25 turned on.
Okee dokee.
I can't help much here (I have no experience with qmail), but I can easily test port 25 again when necessary, just drop a note :)
Most likely.
>> or that port has been blocked.
Probably not.
>> Ok, I'm setting up QMAIL, instead of sendmail. There must be some other step I need to do, to get port 25 turned on.
Okee dokee.
I can't help much here (I have no experience with qmail), but I can easily test port 25 again when necessary, just drop a note :)
Trying 216.162.218.100...
telnet: connect to address 216.162.218.100: Connection refused
Hmmm, that may be problematic if you want to receive emails...