LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-20-2002, 01:30 PM   #1
hcmk
LQ Newbie
 
Registered: Aug 2002
Posts: 5

Rep: Reputation: 0
sendmail/dns problem


I am running SuSE 8.0 and sendmail8.

I recently set up a dns server and sendmail. I had sendmail running fine, and then suddenly (sometime between 10:30 PM wednesday and thursday morning) messages started bouncing. The log errors read:


SYSERROR(root): MX list for mail.hcmk.net points back to sugar.hcmk.net


my /etc/mail/local-host-names file reads:

#(aliases for localhost)
hcmk.net
www.hcmk.net
ftp.hcmk.net
sugar.hcmk.net
amazonias.org
www.amazonias.org
mail.hcmk.net

and my hcmk.net zone file reads:

$TTL 12H
@ IN SOA ns.hcmk.net. hostmaster.hcmk.net. (
200209152 ; serial, todays date + todays
serial #
8H ; refresh, hours
2H ; retry, hours
1W ; expire, weeks
1800 ) ; minimum, seconds
;
NS ns ; Inet Address of name server
NS dns.fullmers.org.
MX 10 mail ; Primary Mail Exchanger
;
localhost A 127.0.0.1

ns A 166.70.186.50
MX 10 mail

hcmk.net. A 166.70.186.50
MX 10 mail
www CNAME hcmk.net.
sugar CNAME hcmk.net.
ftp CNAME hcmk.net.
mail CNAME hcmk.net.


I tried removing the "mail CNAME hcmk.net." from the dns, but then messages couldn't find the host. I am not sure what the problem is. Maybe it's that both sugar and mail are CNAMEs?

Everything I have found on the internet says tallks about the Cw feature. That feature is enabled and both hosts are in the local-host-names file.

I have been struggling with this for a couple days now. I made some changes to DNS that then resulted in me getting a "message loops back to me" error. Then I made another DNS change, and I got "daemon MTA: problem creating SMTP socket NOQUEUE: SYSERROR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting" (I did not have another instance of sendmail running.)

Note that my DNS server, webserver and mail server are all the same machine.

Any help would be appreciated.

thanks,
h
 
Old 09-20-2002, 09:18 PM   #2
gway
LQ Newbie
 
Registered: Sep 2002
Distribution: Slackware
Posts: 24

Rep: Reputation: 15
Hi,
Its just a question (im no sendmail expert, but I have configured more than a couple of them... never saw that error though...) but do you recieve those error messages with every of the domains listed in /etc/mail/local-host-names ?

-- Gway
 
Old 06-23-2004, 12:12 PM   #3
mikmok
LQ Newbie
 
Registered: Dec 2003
Posts: 28

Rep: Reputation: 15
Same error on suse 9.0

Hi,

i've the same situation on a fresh suse 9.0

i've tryied also to add the line
Cwmydomain.com
as last òline in the /etc/sendmail.cf



any idea ?
 
Old 06-23-2004, 01:40 PM   #4
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
hcmk

/etc/mail/local-host-names file
Should list only the FQDN sendmail is responsible for, aliases should be dealt with through DNS

hcmk.net
amazonias.org


Also mail should be an A record not a CNAME or alias

NS ns ; Inet Address of name server
NS dns.fullmers.org.
MX 10 mail ; Primary Mail Exchanger
;

localhost A 127.0.0.1

NS ns.hcmk.net.
MX 10 mail.hcmk.net.

hcmk.net. A 166.70.186.50
mail.hcmk.net. A 166.70.186.50
www CNAME hcmk.net.
sugar CNAME hcmk.net.
ftp CNAME hcmk.net.
ns CNAME hcmk.net.

That's how I would do it

Pete

Last edited by Pete M; 06-23-2004 at 01:42 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail without dns gregm Linux - Networking 0 03-30-2004 09:43 PM
Sendmail, DNS, portsentry problem peppiv Linux - Software 3 02-11-2004 12:29 PM
DNS for sendmail? puzz_1 Linux - Networking 3 06-02-2003 05:54 AM
Getting further, I think I have a sendmail, DNS problem. HELP! WorldBuilder Linux - Networking 0 05-14-2003 03:18 PM
Sendmail, DNS help please!! WorldBuilder Linux - Networking 2 05-10-2003 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration