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 abuse.
That's interesting.
Testing this AM...
Setting compatibility_level=2 doesn't reproduce the error message.
Removing the compatibility_level entirely does reintroduce the error
message (once per every inbound connection):
fatal: in parameter smtpd_relay_restrictions or
smtpd_recipient_restrictions, specify at least one working
instance of: reject_unauth_destination, defer_unauth_destination,
reject, defer, defer_if_permit or check_relay_domains
The message is accurate as I do not have any instance of those settings
in smtpd_recipient_restrictions, however I do have
permit_auth_destination set.
-Jim P.