>Wietse Venema:
>> Len Conrad:
>> > main.cf:
>> > 
>> >  check_policy_service inet:127.0.0.1:10023,
>> > 
>> > 
>> > but postfix ain't happy:
>> > 
>> > Nov 26 15:23:02 mgw1 postfix/smtpd[92264]: fatal: host/service 
>> > localhost/10023 not found: hostname nor servname provided, or not known
>> 
>> Postfix does not translate 127.0.0.1 (in main.cf) into localhost
>> (in the logging).
>
>In case people haven't noticed: his main.cf quote says 127.0.0.1
>but the Postfix logs say localhost.
>
>With 127.0.0.1 in main.cf, Postfix would not have had problems
>connecting to the policy daemon.

Until this case, I've always used to avoid name resolution:

check_policy_service inet:127.0.0.1:10023,

... as seen in my original post.

system resolves localhost:

ping localhost
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.068 ms

but replacing 127.0.0.1 in policy statement with localhost fixed nothing. It 
was the etc/hosts added to /var/spool/postfix that fixed it.  This stinks, but 
I don't know why.

Len





Reply via email to