[pfx] Re: IP protocol inconsistency

2023-09-26 Thread Wietse Venema via Postfix-users
raf via Postfix-users: > On Tue, Sep 26, 2023 at 02:01:24PM -0400, Wietse Venema via Postfix-users > wrote: > > > Wietse Venema via Postfix-users: > > > Wietse Venema via Postfix-users: > > > > It's a rather long explanation for "why not do X". like several > > > > times longer than the text tha

[pfx] Re: IP protocol inconsistency

2023-09-26 Thread raf via Postfix-users
On Tue, Sep 26, 2023 at 02:01:24PM -0400, Wietse Venema via Postfix-users wrote: > Wietse Venema via Postfix-users: > > Wietse Venema via Postfix-users: > > > It's a rather long explanation for "why not do X". like several > > > times longer than the text that explains what protocol preferences

[pfx] Re: IP protocol inconsistency

2023-09-26 Thread raf via Postfix-users
On Tue, Sep 26, 2023 at 10:35:39AM -0400, Wietse Venema via Postfix-users wrote: > > Sadly, I need smtp_address_preference = ipv4 because some > > reputation systems (spamhaus, I think) don't realise > > that an entity might only have a single ipv6 address. > > Then you should disable IPv6, in

[pfx] Re: IP protocol inconsistency

2023-09-26 Thread Wietse Venema via Postfix-users
Wietse Venema via Postfix-users: > Wietse Venema via Postfix-users: > > It's a rather long explanation for "why not do X". like several > > times longer than the text that explains what protocol preferences > > do. And this is the only place where adding that text would help. > > I updated the tex

[pfx] Re: IP protocol inconsistency

2023-09-26 Thread Viktor Dukhovni via Postfix-users
On Tue, Sep 26, 2023 at 05:55:59PM +0200, Matus UHLAR - fantomas via Postfix-users wrote: > Scoring (instead of simply banning) mail sender is quite effective, because > you don't have to receive and parse whole e-mail. This is drifting off-topic for Postfix. Perhaps continue the discussion on

[pfx] Re: IP protocol inconsistency

2023-09-26 Thread Matus UHLAR - fantomas via Postfix-users
On 26.09.23 10:45, Polarian via Postfix-users wrote: The complaint and the reason why some email providers intentionally do not support IPv6 is that the IPv4 exhaustion can be used as a benefit for lazy security. Due to the number of IPv6, email server spam is a lot harder to block, there is mor

[pfx] Re: IP protocol inconsistency

2023-09-26 Thread Wietse Venema via Postfix-users
> Sadly, I need smtp_address_preference = ipv4 because some > reputation systems (spamhaus, I think) don't realise > that an entity might only have a single ipv6 address. Then you should disable IPv6, in the PostfiX SMTP client (master.cf: smtp -o inet_protocols=ipv4) or globally (main.cf:inet_pro

[pfx] Re: IP protocol inconsistency

2023-09-25 Thread Matus UHLAR - fantomas via Postfix-users
Wietse Venema via Postfix-users: > It's a rather long explanation for "why not do X". like several > times longer than the text that explains what protocol preferences > do. And this is the only place where adding that text would help. On Sun, Sep 24, 2023 at 06:25:36PM -0400, Wietse Venema via

[pfx] Re: IP protocol inconsistency

2023-09-25 Thread Viktor Dukhovni via Postfix-users
On Tue, Sep 26, 2023 at 11:12:53AM +1000, raf via Postfix-users wrote: > Sadly, I need smtp_address_preference = ipv4 because some > reputation systems (spamhaus, I think) don't realise > that an entity might only have a single ipv6 address. > They seem to think that everyone has at least 64 addre

[pfx] Re: IP protocol inconsistency

2023-09-25 Thread raf via Postfix-users
On Sun, Sep 24, 2023 at 06:25:36PM -0400, Wietse Venema via Postfix-users wrote: > Wietse Venema via Postfix-users: > > It's a rather long explanation for "why not do X". like several > > times longer than the text that explains what protocol preferences > > do. And this is the only place where

[pfx] Re: IP protocol inconsistency

2023-09-25 Thread Wietse Venema via Postfix-users
Polarian via Postfix-users: Checking application/pgp-signature: FAILURE -- Start of PGP signed section. > Hello, > > This seems to clarify it a lot, I hope that it is added to the current > manpages. It's already on-line. PS it never hurts to choose an accurate subject line. Wietse ___

[pfx] Re: IP protocol inconsistency

2023-09-24 Thread Wietse Venema via Postfix-users
Wietse Venema via Postfix-users: > It's a rather long explanation for "why not do X". like several > times longer than the text that explains what protocol preferences > do. And this is the only place where adding that text would help. I updated the text a little: Notes for mail delivery between

[pfx] Re: IP protocol inconsistency

2023-09-24 Thread Wietse Venema via Postfix-users
Polarian via Postfix-users: Checking application/pgp-signature: FAILURE -- Start of PGP signed section. > Hello, > > I understood RFC 5321 before hand, apologies for you having to type > this all out, I feel bad now. > > But my point was, the documentation states that setting a preference is > a

[pfx] Re: IP protocol inconsistency

2023-09-24 Thread Viktor Dukhovni via Postfix-users
On Sun, Sep 24, 2023 at 09:49:52PM +0100, Polarian wrote: > > No, the choice should be random, to give messages a decent chance of > > getting through under various conditions. > > Why would you ever want to use a protocol randomly? Because gives mail the best chance to be delivered, if necessar

[pfx] Re: IP protocol inconsistency

2023-09-24 Thread Wietse Venema via Postfix-users
Polarian via Postfix-users: > Hello, > > Firstly thank you for the response. > > > RFC 5321 requires that the Postfix SMTP CLIENT connects to hosts > > with primary MX preference, before connecting to hosts with a > > secondary MX preference. > > > > For example, given the following DNS records:

[pfx] Re: IP protocol inconsistency

2023-09-24 Thread Viktor Dukhovni via Postfix-users
On Sun, Sep 24, 2023 at 07:55:16PM +0100, Polarian via Postfix-users wrote: > > Use the Postfix smtp_address_preference default: random selection. > > If an MX host has IPv4 and IPv6 addresses, this ensures that mail > > won't get stuck in the queue when one of the protocols is not > > working for

[pfx] Re: IP protocol inconsistency

2023-09-24 Thread Wietse Venema via Postfix-users
Polarian via Postfix-users: > What technology do you use to pick between the protocols? As documented at the link you mentioned, the Postfix SMTP CLIENT can sort IP addresses, with the same MX preference, by their protocol. RFC 5321 requires that the Postfix SMTP CLIENT connects to hosts with pri