On Sat, Oct 30, 2021 at 02:55:45PM +0000, Brad Barden wrote:

> Oct 30 14:03:22 postfix/submission/smtpd[7724]: warning: restriction 
> `check_ccert_access' ignored: no SASL support

The proposed patch is correct.  Well spotted.  Thanks.

--- a/src/smtpd/smtpd_check.c   2021-10-30 14:07:05.215801324 +0000
+++ b/src/smtpd/smtpd_check.c   2021-10-30 14:07:14.495823061 +0000
@@ -4374,8 +4374,8 @@
            }
        } else if (is_map_command(state, name, CHECK_CCERT_ACL, &cpp)) {
            status = check_ccert_access(state, *cpp, def_acl);
-#ifdef USE_SASL_AUTH
        } else if (is_map_command(state, name, CHECK_SASL_ACL, &cpp)) {
+#ifdef USE_SASL_AUTH
            if (var_smtpd_sasl_enable) {
                if (state->sasl_username && state->sasl_username[0])
                    status = check_sasl_access(state, *cpp, def_acl);

-- 
    VIktor.

Reply via email to