Wietse Venema:
> Please provide evidence in the form of logs that show the
> preference.

John Doe:
> Is this OK / enough ?
> Logs:
> grep relay=nlp[123456].*status=sent /var/log/maillog | sed
> 's/.*relay=//' | sed 's/,.*//' | sort | uniq -c
>   5770 [23]nlp1.loc-prd.net[10.56.155.14]:25
>   5694 [24]nlp2.loc-prd.net[10.32.32.103]:25
>   5402 [25]nlp4.loc-prd.net[10.32.32.104]:25
>  21531 [26]nlp3.loc-prd.net[10.26.15.31]:25
>   5570 [27]nlp6.loc-prd.net[10.26.15.32]:25
>   5694 [28]nlp5.loc-prd.net[10.26.15.34]:25

That's 49661 deliveries, where nlp3 gets 15905 more conections than
the average for the other five hosts, or 32% of the 49661.

This belies the idea that Postix does not round robin. It is more
like some of the time it fails to reach the other five MX hosts.
(I'm assuming that you weren't changing Postfix configurations
during the time that the logs were created).

At this point I consider this problem as external to Postfix. And
the remainder of this response is pure hallucination.

A difference in connectivity could show up as larger than expected
'delay' results in Postfix logging, when it randomly tries to reach
one or more of the other five MX hosts before it succeeds with nlp3.

Note that these six hosts are in different subnets, and I suspect
that you may have a transient address-specific connectivity problem
that sometimes affects connecttivity to the other five hosts.

People who use Postfix have seen address-specific connectivity
problems caused by a bad netmask, and by a data-dependend hardware
error (a bad port on a network switch). 

A bad DHCP server could reply with a bad netmask (this is nasty,
especially when there are multiple DHCP servers and the bad one
wins only some of the time).

Specifically,

    10.56.155 has host nlp1

    10.32.32 has host nlp2 and nlp4

    10.26.15 has hosts nlp3, nlp5, and nlp6. 
    HOWEVER:
        nlp3 is in range 10.26.15[.0-31] (10.26.15.0/27)
        nlp5 and nlp6 are in 10.26.15.[32-64] (10.26.15.32/27)

What are the IP address and netmask of the problem server?  How do
these servers get their IP address: from DHCP or statically?

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to