2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-31 14:17:41 +00:00

postfix-2.2-20040504

This commit is contained in:
Wietse Venema
2004-05-04 00:00:00 -05:00
committed by Viktor Dukhovni
parent f9074b4e1a
commit 052c3c2a9c
3 changed files with 8 additions and 5 deletions

View File

@@ -9361,7 +9361,7 @@ Apologies for any names omitted.
20040503 20040503
Bugfix: missing "sasl enabled" guard the SMTPD policy Bugfix: missing "sasl enabled" guard in the SMTPD policy
client. File: smtpd/smtpd_check.c. client. File: smtpd/smtpd_check.c.
Open problems: Open problems:

View File

@@ -20,7 +20,7 @@
* Patches change the patchlevel and the release date. Snapshots change the * Patches change the patchlevel and the release date. Snapshots change the
* release date only. * release date only.
*/ */
#define MAIL_RELEASE_DATE "20040503" #define MAIL_RELEASE_DATE "20040504"
#define MAIL_VERSION_NUMBER "2.2" #define MAIL_VERSION_NUMBER "2.2"
#define VAR_MAIL_VERSION "mail_version" #define VAR_MAIL_VERSION "mail_version"

View File

@@ -2870,11 +2870,14 @@ static int check_policy_service(SMTPD_STATE *state, const char *server,
(unsigned long) state->msg_size, (unsigned long) state->msg_size,
#ifdef USE_SASL_AUTH #ifdef USE_SASL_AUTH
ATTR_TYPE_STR, MAIL_ATTR_SASL_METHOD, 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, 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, ATTR_TYPE_STR, MAIL_ATTR_SASL_SENDER,
state->sasl_sender ? state->sasl_sender : "", var_smtpd_sasl_enable && state->sasl_sender ?
state->sasl_sender : "",
#endif #endif
ATTR_TYPE_END, ATTR_TYPE_END,
ATTR_FLAG_MISSING, /* Reply attributes. */ ATTR_FLAG_MISSING, /* Reply attributes. */