Solved

Mail server spitting back Email

Posted on 2000-03-06
3
254 Views
Last Modified: 2013-12-16
I am running Slackware with sendmail running as pop3 and smtp server

When people try to send mail to the server

someone@mydomain.com

Mail servers are spitting it back saying that it is looping back to them, and maybe its an MX problem

This server was working fine and I don't know what happened to it??

Any help is greatly appreciated
0
Comment
Question by:eric007
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Expert Comment

by:RobWMartin
ID: 2589147
Do you administrate the DNS that advertises your mail server?  If so, can you post the relevant parts of your zone file, esp. the MX record and anything mentioning mydomain.com.  Also, can we see the exact error message?

Thx
0
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 2589521
There could be a DNS problem, but more likely the problem is the sendmail config. The Sendmail FAQ says:

I'm getting these error messages:

        553 MX list for domain.net points back to relay.domain.net
        554 <user@domain.net>... Local configuration error

How can I solve this problem?

You have asked mail to the domain (e.g., domain.net) to be forwarded to a specific host (in this case, relay.domain.net) by using an MX record, but
the relay machine doesn't recognize itself as domain.net. Add domain.net to /etc/sendmail.cw (if you are using FEATURE(use_cw_file)) or add "Cw
domain.net" to your configuration file.

IMPORTANT: When making changes to your configuration file, be sure you kill and restart the sendmail daemon (for ANY change in the
configuration, not just this one):
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2589539
Oh yeah, if it's a DNS problem the usual cause, per the sendmail FAQ (http://www.sendmail.org/faq/), is:

Wildcard MX records have lots of semantic "gotcha"s. For example, they will match a host "unknown.your.domain" -- if you don't explicitly test for
unknown hosts in your domain, you will get "MX list for hostname points back to hostname" or "config error: mail loops back to myself".

See RFCs 1535, 1536, and 1912 (updates RFC 1537) for more detail and other related (or common) problems. See also _DNS and BIND_ by
Albitz and Liu.

They can also cause your system to add your domain to outgoing FQDNs in a desperate attempt to get the mail to where it's supposed to go, but
because *.your.domain is valid due to the wildcard MX, delivery to not.real.domain.your.domain will get dumped on you, and you may even find
yourself in a loop as the domain keeps getting tacked on time after time after time (the "config error: mail loops back to myself" problem).

Wildcard MX records are just a bad idea, plain and simple. They don't work the way you'd expect, and virtually no one gets them right. Avoid them
at all costs.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
I NEED A "BARE" LINUX ... 9 122
VMware machine is not booting 6 129
bash: ./Facebooker.pl :Permission Denied 9 58
php mail() send emails but the message is lost 4 33
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question