• Bug#267004: exim4: When using a smarthost router: no IP address found f

    From Cedric Delfosse@1:229/2 to All on Fri Aug 20 10:00:16 2004
    From: [email protected]

    Package: exim4
    Version: 4.34-4
    Severity: normal

    In my network, the smtp smarthost machine is called "smtp", and it it resolved:

    # ping smtp
    PING XIII.metz (192.168.0.1) 56(84) bytes of data.
    64 bytes from XIII.metz (192.168.0.1): icmp_seq=1 ttl=255 time=0.246 ms

    The default domain name is metz, so the machine can be called smtp.metz too:
    # ping smtp.metz
    PING XIII.metz (192.168.0.1) 56(84) bytes of data.
    64 bytes from XIII.metz (192.168.0.1): icmp_seq=1 ttl=255 time=0.248 ms

    If I use "smtp" as the name of the smarthost router, I get this error:

    2004-08-19 18:11:37 1BxpVp-0001bP-J9 <= root@replic U=root P=local S=274 2004-08-19 18:11:37 1BxpVp-0001bP-J9 no IP address found for host smtp 2004-08-19 18:11:37 1BxpVp-0001bP-J9 == cedric@metz R=smarthost defer (-1): lookup of host "smtp" failed in smarthost router

    I don't understand why, because the "ping smtp" command show the host "smtp" can be resolved.

    But if I use "smtp.metz" as the smarthost, it works fine, the lookup doesn't failed:

    2004-08-19 17:56:24 1BxpH6-0001Qe-9u <= root@replic U=root P=local S=272 2004-08-19 17:56:24 1BxpH6-0001Qe-9u => cedric@metz R=smarthost T=remote_smtp H=XIII.metz [192.168.0.1]


    -- Package-specific info:
    Exim version 4.34 #1 built 27-Jul-2004 18:06:50
    Copyright (c) University of Cambridge 2004
    Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (May 26, 2004)
    Support for: iconv() IPv6 GnuTLS
    Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd
    Authenticators: cram_md5 plaintext
    Routers: accept dnslookup ipliteral manualroute queryprogram redirect Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
    Fixed never_users: 0
    Configuration file is /var/lib/exim4/config.autogenerated
    # /etc/exim4/update-exim4.conf.conf
    #
    # Edit this file and /etc/mailname by hand and execute update-exim4.conf
    # yourself or use 'dpkg-reconfigure exim4-config'

    dc_eximconfig_configtype='satellite'
    dc_other_hostnames=''
    dc_local_interfaces='127.0.0.1'
    dc_readhost='replic'
    dc_relay_domains=''
    dc_minimaldns='false'
    dc_relay_nets=''
    dc_smarthost='smtp'
    dc_never_users='# never_users = root'
    CFILEMODE='644'
    mailname:replic

    -- System Information:
    Debian Release: 3.1
    APT prefers testing
    APT policy: (500, 'testing')
    Architecture: i386 (i686)
    Kernel: Linux 2.4.26-1-686
    Locale: LANG=fr_FR, LC_CTYPE=fr_FR

    Versions of packages exim4 depends on:
    ii exim4-base 4.34-4 EXperimental Internal Mailer -- a ii exim4-daemon-light 4.34-4 Lightweight version of the Exim (v

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)