]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.2-20040504
authorWietse Venema <wietse@porcupine.org>
Tue, 4 May 2004 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:29:39 +0000 (06:29 +0000)
postfix/HISTORY
postfix/src/global/mail_version.h
postfix/src/smtpd/smtpd_check.c

index e6af30d4f83c116917107b91185f1531860d6d35..34d87b875db78307929427e805023bdd041ad441 100644 (file)
@@ -9361,7 +9361,7 @@ Apologies for any names omitted.
 
 20040503
 
-       Bugfix: missing "sasl enabled" guard the SMTPD policy
+       Bugfix: missing "sasl enabled" guard in the SMTPD policy
        client.  File: smtpd/smtpd_check.c.
 
 Open problems:
index 52d419294075d49d1d22733656d5b9e5538e581b..519f99e2c2366ca70625839241ec328a20e8f9ff 100644 (file)
@@ -20,7 +20,7 @@
   * Patches change the patchlevel and the release date. Snapshots change the
   * release date only.
   */
-#define MAIL_RELEASE_DATE      "20040503"
+#define MAIL_RELEASE_DATE      "20040504"
 #define MAIL_VERSION_NUMBER    "2.2"
 
 #define VAR_MAIL_VERSION       "mail_version"
index 9c513f109173066727b763a4b0d61d85a51768be..89b6f0558558b9f31a97145bc94703fbddacddf8 100644 (file)
@@ -2870,11 +2870,14 @@ static int check_policy_service(SMTPD_STATE *state, const char *server,
                          (unsigned long) state->msg_size,
 #ifdef USE_SASL_AUTH
                          ATTR_TYPE_STR, MAIL_ATTR_SASL_METHOD,
-                         state->sasl_method ? state->sasl_method : "",
+                         var_smtpd_sasl_enable && state->sasl_method ?
+                         state->sasl_method : "",
                          ATTR_TYPE_STR, MAIL_ATTR_SASL_USERNAME,
-                         state->sasl_username ? state->sasl_username : "",
+                         var_smtpd_sasl_enable && state->sasl_username ?
+                         state->sasl_username : "",
                          ATTR_TYPE_STR, MAIL_ATTR_SASL_SENDER,
-                         state->sasl_sender ? state->sasl_sender : "",
+                         var_smtpd_sasl_enable && state->sasl_sender ?
+                         state->sasl_sender : "",
 #endif
                          ATTR_TYPE_END,
                          ATTR_FLAG_MISSING,    /* Reply attributes. */