summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-05-27 12:41:08 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-05-27 12:41:08 +0100
commit474f71bfffe53a9ade7addd3b0e363251487db79 (patch)
treefdc793722c3cd4d18a58cf872386783ec9064ac3 /src
parent65872480d95d1a4aec3d7438fa9b21a67736b210 (diff)
Note MAIL commands in -bS batch, to avoid smtp_no_mail logline. Bug 1346
Diffstat (limited to 'src')
-rw-r--r--src/src/smtp_in.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/smtp_in.c b/src/src/smtp_in.c
index aa3936288..b451c48f5 100644
--- a/src/src/smtp_in.c
+++ b/src/src/smtp_in.c
@@ -1645,6 +1645,7 @@ while (done <= 0)
it is the canonical extracted address which is all that is kept. */
case MAIL_CMD:
+ smtp_mailcmd_count++; /* Count for no-mail log */
if (sender_address != NULL)
/* The function moan_smtp_batch() does not return. */
moan_smtp_batch(smtp_cmd_buffer, "503 Sender already given");