[pfx] Re: Postfix not doing round robin for equal weight MX records

2024-05-17 Thread Wietse Venema via Postfix-users
John Doe via Postfix-users: > We have enabled TLS on nlp3 and all traffic is even now :) > Now it's time for a change to be able to reuse connections for TLS. That would be: smtp_tls_connection_reuse = yes Available in Postfix 3.4 and later. As you have found, connection reuse speeds up

[pfx] Re: Postfix not doing round robin for equal weight MX records

2024-05-17 Thread John Doe via Postfix-users
niedz., 12 maj 2024 o 19:10 Wietse Venema via Postfix-users < postfix-users@postfix.org> napisał(a): > Viktor Dukhovni via Postfix-users: > > On Fri, May 10, 2024 at 01:13:06PM -0400, Wietse Venema via > Postfix-users wrote: > > ... Mystery solved. Thank You Wietse and Viktor for tips about my

[pfx] Re: Postfix not doing round robin for equal weight MX records

2024-05-12 Thread Wietse Venema via Postfix-users
Viktor Dukhovni via Postfix-users: > On Fri, May 10, 2024 at 01:13:06PM -0400, Wietse Venema via Postfix-users > wrote: > > > > Logs: > > > grep relay=nlp[123456].*status=sent /var/log/maillog | sed > > > 's/.*relay=//' | sed 's/,.*//' | sort | uniq -c > > This fails to deduplicate

[pfx] Re: Postfix not doing round robin for equal weight MX records

2024-05-11 Thread Viktor Dukhovni via Postfix-users
On Fri, May 10, 2024 at 01:13:06PM -0400, Wietse Venema via Postfix-users wrote: > > Logs: > > grep relay=nlp[123456].*status=sent /var/log/maillog | sed > > 's/.*relay=//' | sed 's/,.*//' | sort | uniq -c This fails to deduplicate multi-recipient deliveries, which record the same relay= for

[pfx] Re: Postfix not doing round robin for equal weight MX records

2024-05-10 Thread Wietse Venema via Postfix-users
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

[pfx] Re: Postfix not doing round robin for equal weight MX records

2024-05-10 Thread John Doe via Postfix-users
pt., 10 maj 2024 o 16:13 Wietse Venema via Postfix-users < postfix-users@postfix.org> napisał(a): All at once answer, hope it's OK: IP's: ^ dig mx mxmail.adatum.net +short | cut -d' ' -f2 | xargs dig a +short 10.56.155.14 10.32.32.103 10.32.32.104 10.26.15.31

[pfx] Re: Postfix not doing round robin for equal weight MX records

2024-05-10 Thread Wietse Venema via Postfix-users
John Doe via Postfix-users: > Hi, > > I was hoping for real MX record round-robin but it does not work on one of > my servers. > > Somehow, postfix is prioritising one of the MX more than others. By default, Postfix looks up SMTP servers in DNS, and randomizes the order of equal-preference