diff options
author | Stef Walter <stef@memberwebs.com> | 2005-09-15 00:59:42 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2005-09-15 00:59:42 +0000 |
commit | 077097673daf66e5cc52242c7b6c158f722f2cb4 (patch) | |
tree | ccf30e8212e34ac7e0ab3abba53da8f6922e24c2 | |
parent | 9a52321f7a775b6ccb15fa0cdec791614db3dc94 (diff) |
Fix problem when filtering exchange email.
-rw-r--r-- | common/smtppass.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/smtppass.c b/common/smtppass.c index 7110152..c9bc6d8 100644 --- a/common/smtppass.c +++ b/common/smtppass.c @@ -112,6 +112,7 @@ spthread_t; #define ESMTP_BINARY "BINARYMIME" #define ESMTP_CHECK "CHECKPOINT" #define ESMTP_XCLIENT "XCLIENT" +#define ESMTP_XEXCH50 "XEXCH50" #define HELO_CMD "HELO" #define EHLO_CMD "EHLO" @@ -1049,7 +1050,8 @@ static int smtp_passthru(spctx_t* ctx) is_first_word(p, ESMTP_CHUNK, KL(ESMTP_CHUNK)) || is_first_word(p, ESMTP_BINARY, KL(ESMTP_BINARY)) || is_first_word(p, ESMTP_CHECK, KL(ESMTP_CHECK)) || - is_first_word(p, ESMTP_XCLIENT, KL(ESMTP_XCLIENT))) + is_first_word(p, ESMTP_XCLIENT, KL(ESMTP_XCLIENT)) || + is_first_word(p, ESMTP_XEXCH50, KL(ESMTP_XEXCH50))) { sp_messagex(ctx, LOG_DEBUG, "filtered ESMTP feature: %s", trim_space((char*)p)); |