summaryrefslogtreecommitdiff
path: root/common
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
commitddaaecc47f6bec0687c8e9102564d00d510c209c (patch)
tree9ea4772dd6ef3ecf7c2fbf3fedec3917ed8f4334 /common
parent540d0cc9c250614b51b44e5837c3f547db5ebdc3 (diff)
Fix problem when filtering exchange email.
Diffstat (limited to 'common')
-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));