[SLE] Banging my head over sendmail
Hi, I'm at the end of the line here. I really don't know what's causing this. I'm trying to forward my email to another box with no MX record by just forwarding it to the host like this: /etc/aliases: icarus: icarus@c18752226.telekabel.chello.nl So my mail is entering a box with a valid MX record, and that box is just forwarding all my mail over to the c18752226 etc-box. It has worked for months. But suddenly, my box decided it wouldn't do lookups anymore. My syslog now constantly says: Apr 12 23:44:22 www sendmail[3318]: XAA03314: to=icarus@c18752226.telekabel.chello.nl, ctladdr=root (0/0), delay=00:00:05, xdelay=00:00:00, mailer=esmtp, relay=c18752226.telekabel.chello.nl., stat=Deferred: Name server: c18752226.telekabel.chello.nl.: host name lookup failure Host Name Lookup Failure.... ping works. nslookup works. "Connection from c18752-etc" works.. Why won't sendmail do the lookup? I have made no changes in the last months except: adding a mailinglist to my majordomo configuration. That couldn't be it, could it? I've noticed the dot (.) after the second mention of the hostname, right before it says stat=deferred. Is that dot normally put there? Maybe that's the cause. If so: I don't know how to fix it.. ;-( I'd appreciate some hands here, I'm really out of ideas! Thanks, Rogier -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Rogier Maas writes:
Hi,
I'm at the end of the line here. I really don't know what's causing this. I'm trying to forward my email to another box with no MX record by just forwarding it to the host like this:
/etc/aliases:
icarus: icarus@c18752226.telekabel.chello.nl
So my mail is entering a box with a valid MX record, and that box is just forwarding all my mail over to the c18752226 etc-box. It has worked for months.
But suddenly, my box decided it wouldn't do lookups anymore. My syslog now constantly says:
Apr 12 23:44:22 www sendmail[3318]: XAA03314: to=icarus@c18752226.telekabel.chello.nl, ctladdr=root (0/0), delay=00:00:05, xdelay=00:00:00, mailer=esmtp, relay=c18752226.telekabel.chello.nl., stat=Deferred: Name server: c18752226.telekabel.chello.nl.: host name lookup failure
Host Name Lookup Failure.... ping works. nslookup works. "Connection from c18752-etc" works.. Why won't sendmail do the lookup? I have made no changes in the last months except: adding a mailinglist to my majordomo configuration. That couldn't be it, could it?
Are you running a nameserver? Some application enforce reverse name mappings, telnet does, NFS and many others. So when you contact the nameserver it gives you an address, this address must correspond to a name. If you are just using /etc/hosts then it is already done for you, but when configuring a nameserver you must explicitely setup the reverse mappings. I am using only a caching namserver with /etc/hosts for all my local hosts, so I will not have this problem. I have setup a full fledged namserver before, but had a lot of trouble. Hope this helps.
I've noticed the dot (.) after the second mention of the hostname, right before it says stat=deferred. Is that dot normally put there? Maybe that's the cause. If so: I don't know how to fix it.. ;-(
I'd appreciate some hands here, I'm really out of ideas!
Thanks,
Rogier
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Rogier, I had a sudden change in my sendmail behaviour that turned out to be due to yast happily messing with my sendmail.cf. I suggest that you double check that you have disabled yast doing any modifications to sendmail.cf. Once you're sure that is in place then go back and redo sendmail.mc (or whatever you called it ie. linux.mc) to be sure you have the proper parameters and rerun the m4 macro. Gerry "The lyf so short, the craft so long to learne" Chaucer -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Gerry Doris wrote:
Rogier, I had a sudden change in my sendmail behaviour that turned out to be due to yast happily messing with my sendmail.cf.
I suggest that you double check that you have disabled yast doing any modifications to sendmail.cf.
Once you're sure that is in place then go back and redo sendmail.mc (or whatever you called it ie. linux.mc) to be sure you have the proper parameters and rerun the m4 macro.
Gerry
"The lyf so short, the craft so long to learne" Chaucer
While my syslog is wooshing by in the background, I've checked on YaST: it's disabled. Did that long time ago, when it changed my settings back the way SuSE likes them. I've also tried adding this line to my sendmail.cf: O ResolverOptions=+DNSRCH +DEFNAMES +RECURSE The original setting was sendmails default: #O ResolverOptions=+AAONLY (turned off by the hash) till no go.. :-\ Rogier -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
At 11:51 PM 04/12/00 +0200, Rogier Maas wrote:
Apr 12 23:44:22 www sendmail[3318]: XAA03314: to=icarus@c18752226.telekabel.chello.nl, ctladdr=root (0/0), delay=00:00:05, xdelay=00:00:00, mailer=esmtp, relay=c18752226.telekabel.chello.nl., stat=Deferred: Name server: c18752226.telekabel.chello.nl.: host name lookup failure
What does sendmail -bh show? What happends if you call sendmail -bH? Bill Moseley mailto:moseley@hank.org -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Bill Moseley wrote:
At 11:51 PM 04/12/00 +0200, Rogier Maas wrote:
Apr 12 23:44:22 www sendmail[3318]: XAA03314: to=icarus@c18752226.telekabel.chello.nl, ctladdr=root (0/0), delay=00:00:05, xdelay=00:00:00, mailer=esmtp, relay=c18752226.telekabel.chello.nl., stat=Deferred: Name server: c18752226.telekabel.chello.nl.: host name lookup failure
What does sendmail -bh show? What happends if you call sendmail -bH?
Bill Moseley mailto:moseley@hank.org
What does sendmail -bh show? Nothing.
What happends if you call sendmail -bH? Nothing.
No output whatsoever. This means I have no persistent host status database? My syslog says nothing, sendmail quits without a message. btw, I don't have any nameservers running. This is a plain, simple mailserver, without anything else fancy configured on it. It has run for years, with no serious trouble. Rogier -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (4)
-
gdoris@home.com
-
icarus@guldennet.nl
-
jlm@compgen.com
-
moseley@hank.org