Stephen Kuhn wrote:
> On Fri, 2003-08-29 at 17:35, Didier Casse wrote:
> 
>> If you fixed /etc/hosts, and /etc/resolv.conf then I've no clue! It's
>> because of problems like this configuration headaches with sendmail
>> that I decided to switch to qmail! When a friend told me to switch
>> to qmail, I was very hesitant about it since *everybody* used
>> sendmail but when I switched I was really happy because it was easy
>> to figure out stuff and it gives you meaningful error messages which
>> you can easily trace back! 
> 
> I'm still rather surprised that on Mandrake it flies, on RH9 it
> crawls - even on a few RH 7.3 boxes I work on, it's fast and
> stable...but RH9? Nah...dunno why...and ain't really got the time or
> the resource to dig any deeper than having a cursory looksee

After reading this entire thread, my reply is probably to late. But...

type: sendmail -bt -d0.1 </dev/null

look for the canonical name. Hopefully your systems resolver lib
configuration (hosts or dns) will return this name. For reference:

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = voyager
  (canonical domain name) $j = mail.mydomain.tld
         (subdomain name) $m = mydomain.tld
              (node name) $k = voyager
========================================================

[EMAIL PROTECTED] scowles]$ hostname
voyager
[EMAIL PROTECTED] scowles]$ dnsdomainname
mydomain.tld

[EMAIL PROTECTED] scowles]$ dig +short mail.mydomain.tld
192.168.9.3
[EMAIL PROTECTED] scowles]$ dig +short voyager.mydomain.tld

192.168.9.3
[EMAIL PROTECTED] scowles]$ dig +short -x 192.168.9.3        
voyager.mydomain.tld.

[EMAIL PROTECTED] scowles]$ host voyager.mydomain.tld
voyager.mydomain.tld has address 192.168.9.3
[EMAIL PROTECTED] scowles]$ host mail.mydomain.tld

mail.mydomain.tld has address 192.168.9.3

[EMAIL PROTECTED] scowles]$ cat /etc/hosts
127.0.0.1               localhost.mydomain.tld localhost

FWIW: The "mail" vs. "voyager" hostname difference is because I want
sendmail to announce itself with the same name (during the HELO) that my
external MX record points to, not the hostname I assigned behind my
firewall; which cannot be looked up externally.

I did this by manually adding the following to my sendmail.mc file and
recreating sendmail.cf
define(`confDOMAIN_NAME', `mail.mydomain.tld')dnl

Steve Cowles


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to