Discussion Locked

Sendmail error: MX List points back

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
I am new in Linux (Red Hat v.6.1) and trying to setup Sendmail (v.8.9.3-15).

I have an MX DNS entry for my domain.
I added the line into /etc/sendmail.cf:
Cwlocalhost mail.mydomain.com

3. Started sendmail:

/usr/sbin/sendmail ?q5m

4. I have entries in /etc/mail/access:

localhost.localdomain RELAY

localhost RELAY

mydomain.com RELAY

mail.mydomain.com RELAY
client_PC_IP_address RELAY

sendmail_sever_IP_address RELAY

(maybe some entries are unnecessary, I put just in case)

5. I ran command:

makemap hash /etc/mail/access < /etc/mail/access

I created e-mail account: ?alex? using Mail Monitor

I can successfully send out e-mail but cannot receive it. I found the following errors in the log file:

From , size=?????? MX LIST for mydomain.com points back to mail.mydomain.com: no such file or directory ?local configuration error.

What am I missing? Thank you,

Alex Suvorov
Sr. Systems Administrator
alex_suvorov@hotmail.com

1 reply

by wmusil

sendmail needs real MX records. mydomain.com is bogus. Ensure that you ISP is forwarding mail to you and that your sendmail is configured to recieve mail according to the domain that you have registered. If you are using POP service and just want you server to send the mail, ensure that all bad-host bad-user channels are defined for a valid server on your ISP. Don't configure your sendmail to append the domain to the e-mail address or configure it to append the domain you were given as part of you ISP e-mail account. Your domain will need an MX record on the internet for return mail to be sent back and forth between your personal server. YOU CANNOT just create a domain and attempt to send and recieve e-mail via an AOL/Prodigy/etc... account. Most relays require well formed e-mail addresses (read: legal, registered domain name).

This discussion is closed to new replies.