> -----Original Message-----
> From: Will Mendez
> Sent: Saturday, November 16, 2002 1:46 PM
> Subject: Send Mail Slowness
> 
> 
> OK...I added the following line  hosts:   files 
> [NOTFOUND=continue] dns in /etc/nsswitch.conf.  
> 
> I ran Steves command   sendmail -bt -d0.1 </dev/null
> and got the following results.
> 
> [root@TagTeam root]# sendmail -bt -d0.1 </dev/null
> Version 8.11.6
>  Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7
>                 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS 
> QUEUE SASL SCANF
>                 SMTP TCPWRAPPERS USERDB
> 
> ============ SYSTEM IDENTITY (after readcf) ============
>       (short domain name) $w = TagTeam
>   (canonical domain name) $j = TagTeam
>          (subdomain name) $m = <null>
>               (node name) $k = TagTeam
> ========================================================
> 
> WARNING: local host name (TagTeam) is not qualified; fix $j 
> in config file ADDRESS TEST MODE (ruleset 3 NOT
> automatically invoked) Enter <ruleset> <address>
> [root@TagTeam root]#
> 
> In which config file does it want me to correct it in? my 
> /etc/hosts has 127.0.0.1 followed by the hostname.

Your systems domain name is not being set, so sendmail is complaining. 

Type: man dnsdomainname for more info. 
Further reading should include: man resolv.conf

FWIW: The proper sendmail output should look similar to...

[root@voyager etc]# sendmail -bt -d0.1 </dev/null
[...]
============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = voyager
  (canonical domain name) $j = voyager.mydomain.com
         (subdomain name) $m = mydomain.com
              (node name) $k = voyager

the key is the canonical domain name.

Also, your /etc/hosts file should contain an entry for the
hostname/ip address of your system. EX:

[root@voyager etc]# cat /etc/hosts
127.0.0.1         localhost.mydomain.com  localhost
192.168.9.3       voyager.mydomain.com    voyager


Steve Cowles



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to