Gerald Galster:
> Hello,
> 
> I was wondering what will happen when a milter is defined using
> a hostname that returns multiple ips via dns:
> 
> smtpd_milters = inet:ha.filter.com:12345

This will call inet_connect() (in util/inet_connect.c). This calls
the getaddrinfo() system library function to look up the IP address
for the name (which typically involves nsswitch), and then tries
each IP address until a TCP connection can be established.

Once a TCP connection exists, it WILL NOT try another IP address
for example when the Milter is responding incorrectly.

        Wietse

Reply via email to