Note MAIL commands in -bS batch, to avoid smtp_no_mail logline. Bug 1346
[exim.git] / src / src / smtp_in.c
index aa3936288e262a224a117af8ce3613693c291f5b..b451c48f586b6cce17e5c9f8a5ee3e25924405ac 100644 (file)
@@ -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");