Re: postconf -d smtpd_relay_restrictions

2022-01-06 Thread Viktor Dukhovni
On Thu, Jan 06, 2022 at 08:13:11AM -0500, Jim Popovitch wrote: > Setting compatibility_level=2 doesn't reproduce the error message. As expected. > Removing the compatibility_level entirely does reintroduce the error > message (once per every inbound connection): Well, the default compatibility

Re: postconf -d smtpd_relay_restrictions

2022-01-06 Thread Jim Popovitch
On Thu, 2022-01-06 at 12:23 -0500, Wietse Venema wrote: > Jim Popovitch: > > This config produces the warning/error message: > > > > mail_version = 3.6.3 > > smtpd_relay_restrictions = ${{$compatibility_level} > {permit_mynetworks, permit_sasl_authenticated, > > defer_unauth_destination}} > > smt

Re: postconf -d smtpd_relay_restrictions

2022-01-06 Thread Wietse Venema
Jim Popovitch: > This config produces the warning/error message: > > mail_version = 3.6.3 > smtpd_relay_restrictions = ${{$compatibility_level} {permit_mynetworks, permit_sasl_authenticated, > defer_unauth_destination}} > smtpd_recipient_restrictions = check_client_access > cidr:/etc/postfix/chec

Re: postconf -d smtpd_relay_restrictions

2022-01-06 Thread Jim Popovitch
On Thu, 2022-01-06 at 11:32 -0500, Wietse Venema wrote: > Jim Popovitch: > > On Thu, 2022-01-06 at 22:29 +1100, Viktor Dukhovni wrote: > > > > > > > > > Removing the compatibility_level setting entirely could introduce > > > the reported symptoms, if "smtpd_recipient_restrictions" doesn't > > > h

Re: postconf -d smtpd_relay_restrictions

2022-01-06 Thread Wietse Venema
Jim Popovitch: > On Thu, 2022-01-06 at 22:29 +1100, Viktor Dukhovni wrote: > > > > > > Removing the compatibility_level setting entirely could introduce > > the reported symptoms, if "smtpd_recipient_restrictions" doesn't > > have any of the "default deny" rules, and relies on the relay > > restr

Re: postconf -d smtpd_relay_restrictions

2022-01-06 Thread Jim Popovitch
On Thu, 2022-01-06 at 22:29 +1100, Viktor Dukhovni wrote: > > > Removing the compatibility_level setting entirely could introduce > the reported symptoms, if "smtpd_recipient_restrictions" doesn't > have any of the "default deny" rules, and relies on the relay > restrictions to prevent relay abus

Re: postconf -d smtpd_relay_restrictions

2022-01-06 Thread Viktor Dukhovni
> On 6 Jan 2022, at 9:26 pm, John Fawcett wrote: > > I'd be very surprised to find that changing the compatibility_level from 2 to > 3.6, with a default setting for smtpd_relay_restrictions in version 3.6.3 > would resolve the fatal error "in parameter smtpd_relay_restrictions or > smtpd_recip

Re: postconf -d smtpd_relay_restrictions

2022-01-06 Thread John Fawcett
On 06/01/2022 00:47, Jim Popovitch wrote: On Thu, 2022-01-06 at 00:11 +0100, John Fawcett wrote: On 05/01/2022 21:21, Jim Popovitch wrote: On Wed, 2022-01-05 at 20:45 +0100, John Fawcett wrote: On 05/01/2022 20:19, Jim Popovitch wrote: This can't be right Using 'p

Re: postconf -d smtpd_relay_restrictions

2022-01-05 Thread Jim Popovitch
On Thu, 2022-01-06 at 00:11 +0100, John Fawcett wrote: > On 05/01/2022 21:21, Jim Popovitch wrote: > > On Wed, 2022-01-05 at 20:45 +0100, John Fawcett wrote: > > > On 05/01/2022 20:19, Jim Popovitch wrote: > > > > This can't be right.... > > > > >

Re: postconf -d smtpd_relay_restrictions

2022-01-05 Thread John Fawcett
On 05/01/2022 21:21, Jim Popovitch wrote: On Wed, 2022-01-05 at 20:45 +0100, John Fawcett wrote: On 05/01/2022 20:19, Jim Popovitch wrote: This can't be right Using 'postconf -d smtpd_relay_restrictions'... ...on postfix v3.5 (Debian/Buster) smtpd_rel

Re: postconf -d smtpd_relay_restrictions

2022-01-05 Thread Jim Popovitch
On Wed, 2022-01-05 at 20:45 +0100, John Fawcett wrote: > On 05/01/2022 20:19, Jim Popovitch wrote: > > This can't be right > > > > Using 'postconf -d smtpd_relay_restrictions'... > > > > ...on postfix v3.5 (Debian/Buster) > > sm

Re: postconf -d smtpd_relay_restrictions

2022-01-05 Thread John Fawcett
On 05/01/2022 20:19, Jim Popovitch wrote: This can't be right Using 'postconf -d smtpd_relay_restrictions'... ...on postfix v3.5 (Debian/Buster) smtpd_relay_restrictions = ${{$compatibility_level} < {1} ? {} : {permit_mynetworks, permit_sasl_authenticated, defer_unauth_de

postconf -d smtpd_relay_restrictions

2022-01-05 Thread Jim Popovitch
This can't be right Using 'postconf -d smtpd_relay_restrictions'... ...on postfix v3.5 (Debian/Buster) smtpd_relay_restrictions = ${{$compatibility_level} < {1} ? {} : {permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination}} ...on postfix v3.6.