Solved

Sendmail problem: "mail loops back to me (MX problem?)"

Posted on 2000-02-20
3
587 Views
Last Modified: 2013-12-16
Hi. Having a few problems.

I've got the MX records for a number of domains pointing to a single host, and on that host I've put the domains in /etc/sendmail.cf, ie:

Cw stub.org

I've also tried putting them in /etc/sendmail.cw, but that hasn't helped.

All the FAQs stop there, assuming that this will solve the problem, but it hasn't. I'm still getting mails to this domain (and others) bouncing with:

   ----- Transcript of session follows -----
553 www.vx-labs.org. config error: mail loops back to me (MX problem?)
554 <ade@stub.org>... Local configuration error

What else could be wrong? (Yes, I have restarted sendmail)

Thanks in advance


// Ade.
0
Comment
Question by:adrianward
  • 2
3 Comments
 

Author Comment

by:adrianward
ID: 2539799
Oo, I should mention some details:

Redhat Linux 6.0, hostname is root.vx-labs.org, running sendmail 8.9.3. The domain I'm trying to get working is stub.org

[root@root named]# cat /var/named/named.stub.org
@       IN      SOA     stub.org. root.vx-labs.org.  (
                                      2000021600 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      36000      ; Expire
                                      86400 )    ; Minimum
        IN      NS      ns.vx-labs.org.

        IN      MX      5 mail.vx-labs.org.

        IN      CNAME   www.vx-labs.org.
*       IN      CNAME   www.vx-labs.org.


Hope this helps a bit.

Thanks.
0
 
LVL 3

Accepted Solution

by:
alien_life_form earned 100 total points
ID: 2540264
Greetings.

stub.org is expanded to www.vx-labs.org, and
www.vx-labs.org is not in the Cw statement,
hence the snafu.

My advice: don't use cnames for this stuff,
a straight A record - using the address of root.vx-labs.org - will work just the same,
and make this stuff easier to trace.

So basically: if you stick www.vx-labs.org in the cname, it'll work, but I would rather take www out of the picture altogether.
 
HTH & cheers,
      alf
0
 

Author Comment

by:adrianward
ID: 2543274
Excellent, that's just it. Thanks.

I didn't realise that sendmail would look at the CNAME for the domain, I only thought it used the MX records.

It works perfectly now.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

830 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