Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email Server & Domain

Status
Not open for further replies.

Trunkx

Technical User
Jan 5, 2005
2
US
Ok quick question i run a redhat webserver, and i have my webmail setup with my smtp and pop servers running. i also have a domain. my problem is that i can send mail out to a test email address "yahoo" but when i send it back to my webserver it says that it cant find a mx exchange server or a ip address. ok in my dns settings for my domain i have "@ - ip and mail - ip" added under MX (Mail Exchangers). do i need to set up anything under CNAMES or A Host for this to work right? also i have a commercial account with my isp so all the mail ports are open. what am i doing wrong?
 
It would help if you let us know what the domain name in queston is so that we can take a look and give you an idea as to what might be wrong?

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
Well, you have an MX record ..

;; QUESTION SECTION:
;echobox.org. IN MX

;; ANSWER SECTION:
echobox.org. 3600 IN MX 0 mail.echobox.org.

;; AUTHORITY SECTION:
echobox.org. 3600 IN NS PARK9.SECURESERVER.NET.
echobox.org. 3600 IN NS PARK10.SECURESERVER.NET

.. but mail.echobox.org has a CNAME record, not an A record. While this may work many servers might insist that there is an A record to resolve this and not a CNAME.

;; QUESTION SECTION:
;mail.echobox.org. IN A

;; ANSWER SECTION:
mail.echobox.org. 3600 IN CNAME echobox.org.
echobox.org. 3600 IN A 68.228.7.140

I'm sure that there are some RFC's somewhere that state this but it's late and I can't find them ;-) However, I would suggest that you create an A record for mail.echobox.org.

The mail server does seem to be up ..

$ telnet mail.echobox.org 25
Trying 68.228.7.140...
Connected to mail.echobox.org.
Escape character is '^]'.
220 webserver.echobox.org ESMTP Postfix
helo dude
250 webserver.echobox.org
mail from: < me >
250 Ok
rcpt to: you@echobox.org
250 Ok
data
354 End data with <CR><LF>.<CR><LF>
Test
.
250 Ok: queued as C88EAD8E50
quit
221 Bye
Connection closed by foreign host.

Looks okay.

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top