From 077097673daf66e5cc52242c7b6c158f722f2cb4 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 15 Sep 2005 00:59:42 +0000 Subject: Fix problem when filtering exchange email. --- common/smtppass.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common/smtppass.c') 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)); -- cgit v1.2.3