A subsequent MAIL command could get reset in the middle otherwise. Before, it
only blocked input until a reply was submitted, but the transaction isn't reset
until the EHLO/HELO command is complete (just before actually sending the reply)
which can cause issues when the subsequent MAIL command is already
being processed.
}
ret = smtp_helo_domain_parse(params, !old_smtp, &domain);
- smtp_server_command_input_lock(cmd);
+ smtp_server_command_pipeline_block(cmd);
if (conn->state.state == SMTP_SERVER_STATE_GREETING) {
smtp_server_connection_set_state(conn, SMTP_SERVER_STATE_HELO,
NULL);