Sorry for pushing this up again.
We are using mailcow only locally - no access from the internet allowed, except VPN. While checking the postfix-logs a lot of i.e. “ SASL LOGIN authentication failed: (reason unavailable)” are occurring. From https://www.postfix.org/postconf.5.html there is a parameter which should help to prevent this noise:
smtpd_sasl_exceptions_networks (default: empty)
What remote SMTP clients the Postfix SMTP server will not offer AUTH support to.
Some clients (Netscape 4 at least) have a bug that causes them to require a login and password whenever AUTH is offered, whether it's necessary or not. To work around this, specify, for example, $mynetworks to prevent Postfix from offering AUTH to local clients.
Specify a list of network/netmask patterns, separated by commas and/or whitespace. The mask specifies the number of bits in the network part of a host address. You can also specify "/file/name" or "type:table" patterns. A "/file/name" pattern is replaced by its contents; a "type:table" lookup table is matched when a table entry matches a lookup string (the lookup result is ignored). Continue long lines by starting the next line with whitespace. Specify "!pattern" to exclude an address or network block from the list. The form "!/file/name" is supported only in Postfix version 2.4 and later.
Note: IP version 6 address information must be specified inside [] in the smtpd_sasl_exceptions_networks value, and in files specified with "/file/name". IP version 6 addresses contain the ":" character, and would otherwise be confused with a "type:table" pattern.
Example:
smtpd_sasl_exceptions_networks = $mynetworks
This feature is available in Postfix 2.1 and later.
I understand that this parameter in mailcow has to be defined in data/conf/postfix/extra.cf. If I want to exclude all networks except 10.2.3.*, for example, would this work:
smtpd_sasl_exceptions_networks = !10.2.3.0/24
Thank’s for any help/hints.