bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Bosch * VRFY command
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Boschstatic void cmd_vrfy_proxy_cb(const struct smtp_reply *proxy_reply,
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Bosch struct smtp_server_cmd_ctx *cmd = vrfy_cmd->cmd;
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Bosch if (!client_command_handle_proxy_reply(client, proxy_reply, &reply))
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Bosch if (!smtp_reply_has_enhanced_code(proxy_reply)) {
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Bosch reply.enhanced_code = SMTP_REPLY_ENH_CODE(2, 5, 0);
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Boschint cmd_vrfy(void *conn_ctx, struct smtp_server_cmd_ctx *cmd,
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Bosch vrfy_cmd = p_new(cmd->pool, struct cmd_vrfy_context, 1);
2cbbe9b4829adb184c83dbf780316f4144559054Stephan Bosch vrfy_cmd->cmd_proxied = smtp_client_command_vrfy_submit(