[Postfixbuch-users] address not listed for hostname
    Mathias Jeschke 
    postfixbuch-users at gmj.cjb.net
                  
    Mi Mai 11 11:15:45 CEST 2011
    
    
Am 11.05.2011 10:31, schrieb Sandy Drobic:
> Dann sollte auch die Hostauflösung durch die /etc/hosts erfolgen. Dadurch
> lässt sich nicht erklären, warum dies nicht geschieht. Dann kann ich im
> Augenblick nicht helfen.
Meine Vermutung ist ja, dass es wegen dem Default-Parameter von
$smtp_host_lookup nicht geht. Zitat:
> smtp_host_lookup (default: dns)
>     What mechanisms the Postfix SMTP client uses to look up a host's IP address. This parameter is ignored when DNS lookups are disabled (see: disable_dns_lookups).
>     Specify one of the following:
> 
>     dns
>         Hosts can be found in the DNS (preferred). 
>     native
>         Use the native naming service only (nsswitch.conf, or equivalent mechanism). 
>     dns, native
>         Use the native service for hosts not found in the DNS. 
> 
>     This feature is available in Postfix 2.1 and later.
Auf meinen Systemen hilft daher (wenn ein Hostname wirklich nur lokal
bekannt ist):
$ postconf smtp_host_lookup
smtp_host_lookup = native
$ grep host /etc/nsswitch.conf
hosts:          files dns
Gruß,
Mathias
    
    
Mehr Informationen über die Mailingliste Postfixbuch-users