From: Stephan Bosch Date: Thu, 15 Feb 2018 23:44:07 +0000 (+0100) Subject: lib-smtp: server: Remove inappropriate assert from MAIL command. X-Git-Tag: 2.3.1~112 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eaff427e5108eb03ded2815281d53d2bf52e3371;p=thirdparty%2Fdovecot%2Fcore.git lib-smtp: server: Remove inappropriate assert from MAIL command. When the MAIL command is next to reply, it is possible to have RCPT commands that are still pending. --- diff --git a/src/lib-smtp/smtp-server-cmd-mail.c b/src/lib-smtp/smtp-server-cmd-mail.c index 50f50d9aa1..1efbba84e9 100644 --- a/src/lib-smtp/smtp-server-cmd-mail.c +++ b/src/lib-smtp/smtp-server-cmd-mail.c @@ -53,8 +53,6 @@ static void cmd_mail_recheck(struct smtp_server_cmd_ctx *cmd) { struct smtp_server_connection *conn = cmd->conn; - i_assert(conn->state.pending_rcpt_cmds == 0); - /* all preceeding commands have finished and now the transaction state is clear. This provides the opportunity to re-check the transaction state */