Skip to content

Commit

Permalink
lib-smtp: server: Remove inappropriate assert from MAIL command.
Browse files Browse the repository at this point in the history
When the MAIL command is next to reply, it is possible to have RCPT commands
that are still pending.
  • Loading branch information
stephanbosch committed Feb 16, 2018
1 parent 02c6a06 commit 8c2d916
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib-smtp/smtp-server-cmd-mail.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 8c2d916

Please sign in to comment.