/etc/resolv.conf and sendmail

Philippe phd2 at fcomfrench.com
Thu Jul 15 02:45:05 UTC 2004


Alexander,

I did change my /etc/hosts files, including the AAA but this is just my
internal domain name. So I corrected it again and my /etc/hosts file is
like before.

Cat /etc/hosts:
> [root at P4 tmp]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.0.1     P4.AAA  P4
127.0.0.1       localhost.localdomain   localhost

So here is again the sendmail -bt -d0.12 < /dev/null.8 trace.
Just one line change, in the UUCP name, the line with a.k.a. AAA.

Thanks

[root at P4 tmp]# sendmail -bt -d0.12 < /dev/null Version 8.12.11
 Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
                MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET
NETINET6
                NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS
TCPWRAPPERS
                USERDB USE_LDAP_INIT
    OS Defines: ADDRCONFIG_IS_BROKEN HASFCHOWN HASFCHMOD HASFLOCK
                HASGETDTABLESIZE HASINITGROUPS HASLSTAT HASNICE
HASRANDOM
                HASRRESVPORT HASSETREGID HASSETREUID HASSETRLIMIT
HASSETSID
                HASSETVBUF HASURANDOMDEV HASSTRERROR HASUNAME
HASUNSETENV
                HASWAITPID IDENTPROTO NEEDSGETIPNODE REQUIRES_DIR_FSYNC
                USE_DOUBLE_FORK USE_SIGLONGJMP
Kernel symbols: /boot/vmlinux
     Conf file: /etc/mail/submit.cf (default for MSP)
     Conf file: /etc/mail/sendmail.cf (default for MTA)
      Pid file: /var/run/sendmail.pid (default)
 libsm Defines: SM_CONF_LDAP_MEMFREE SM_CONF_LONGLONG SM_CONF_MEMCHR
                SM_CONF_MSG SM_CONF_SEM SM_CONF_SIGSETJMP SM_CONF_SHM
                SM_CONF_SSIZE_T SM_CONF_STDDEF_H SM_CONF_SYS_CDEFS_H
                SM_CONF_UID_GID SM_HEAP_CHECK SM_OS=sm_os_linux
SM_VA_STD
Canonical name: P4.AAA
 UUCP nodename: P4.AAA
        a.k.a.: P4
        a.k.a.: [192.168.0.1]
     Conf file: /etc/mail/sendmail.cf (selected)
      Pid file: /var/run/sendmail.pid (selected)
 
============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = P4
  (canonical domain name) $j = P4.AAA
         (subdomain name) $m = AAA
              (node name) $k = P4.AAA
========================================================
 
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>



Philippe

-- 
Philippe, Chiangmai, Thailand





More information about the users mailing list