Re: [exim] localhost lookup

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: Robert Van Horn
Υ/ο: exim-users
Αντικείμενο: Re: [exim] localhost lookup
On Wed, 31 Aug 2005, Robert Van Horn wrote:
>
> 2005-08-31 12:43:35 1EAYUe-0001tS-90 == casaubon@???
> R=cyrus_vdom T=cyrus_ltcp defer (-32): failed to lookup IP address for
> localhost
>
> cyrus_ltcp:
> driver = smtp
> protocol = lmtp
> allow_localhost
> hosts = localhost
> port = 2003


By default, Exim looks up host names in the DNS. Unless your hostmaster
has set up a localhost zone, this won't work. You probably want to turn on
the gethostbyname option. (However creating a localhost zone is good for
reducing bogus traffic on the root nameservers.)


hosts                   Use: smtp   Type: string list*          Default: unset


    [...] Host names are looked up either by searching directly for
    address records in the DNS or by calling "gethostbyname()" (or
    "getipnodebyname()" when available), depending on the setting of the
    "gethostbyname" option.


gethostbyname             Use: smtp   Type: boolean            Default: false


    If this option is true when the "hosts" and/or "fallback_hosts" options
    are being used, names are looked up using "gethostbyname()" (or
    "getipnodebyname()" when available) instead of using the DNS. Of course,
    that function may in fact use the DNS, but it may also consult other
    sources of information such as /etc/hosts.


Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}