On 10/11/2012 10:42, Wietse Venema wrote:
> staticsafe:
>>> First check the host.conf, hosts, and resolv.conf files in
>>> /var/spool/postfix/etc.
>>>
>>> If that does not cause the coin to drop, compile and run the attached
>>> getaddrinfo and getnameinfo programs. Postfix requires that the
>>> hostname from getnameinfo() will resolve with getaddrinfo() to the
>>> client IP address.
>>
>> Interesting. There is no host.conf file in /var/spool/postfix/etc, only
>> hosts and resolv.conf, perhaps this is the issue?
> 
> They are needed only if chroot is turned on. For example:
> 
> /etc/postfix/master.cf:
>     # =============================================================
>     # service type  private unpriv  chroot  wakeup  maxproc command
>     #               (yes)   (yes)   (yes)   (never) (100)
>     # =============================================================
>     smtp      inet  n       -       -       -       -       smtpd
> 
> Otherwise the files are ignored.
> 
> Oh, and you should run my getaddrinfo/getnameinfo programs as
> a non-root user.
> 
>       Wietse
> 
Also these are the values in my master.conf:

#==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
#
#==========================================================================
smtp      inet  n       -       -       -       -       smtpd

-- 
staticsafe
http://staticsafe.ca

Reply via email to