summaryrefslogtreecommitdiff
path: root/common/smtppass.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2005-09-15 00:59:42 +0000
committerStef Walter <stef@memberwebs.com>2005-09-15 00:59:42 +0000
commit077097673daf66e5cc52242c7b6c158f722f2cb4 (patch)
treeccf30e8212e34ac7e0ab3abba53da8f6922e24c2 /common/smtppass.c
parent9a52321f7a775b6ccb15fa0cdec791614db3dc94 (diff)
Fix problem when filtering exchange email.
Diffstat (limited to 'common/smtppass.c')
-rw-r--r--common/smtppass.c4
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));