From 8c2d916c7cd0c7c85fba4eb41bcc031d1424cb2d Mon Sep 17 00:00:00 2001 From: Stephan Bosch Date: Fri, 16 Feb 2018 00:44:07 +0100 Subject: [PATCH] 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. --- src/lib-smtp/smtp-server-cmd-mail.c | 2 -- 1 file changed, 2 deletions(-) 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 */ -- 2.47.3