On Thu, Aug 7, 2008 at 1:49 AM, Wietse Venema <[EMAIL PROTECTED]> wrote:
> Seblu:
>>
>> and after a test my binary return a good resolution
>>
>> ./a.out
>> server: got connection from 192.42.42.1
>> host=toto.titi
>>
>> and the function gethostbyaddr return also a good answer !
>
> Ok, now you should learn to find out what configuration files
> your program uses.
>
> $ krtrace ./a.out
> $ kdump | grep NAMI | grep /etc
>
> Obviously, the Postfix smtpd process is not using those files.
>
> Have you considered the possiblity of a mis-configured
>
> /var/spool/postfix/etc/resolv.conf
> /var/spool/postfix/etc/hosts
you are right ! I don't known this files... and this file was not
good. After fix it, postfix resolv correctly.

Thanks a lot Wietse !

-- 
Sébastien Luttringer
www.seblu.net

Reply via email to