Lines Matching defs:mail_cmd
49 struct cmd_mail_context *mail_cmd = cmd->context;
51 if (mail_cmd->cmd_proxied != NULL)
52 smtp_client_command_abort(&mail_cmd->cmd_proxied);
56 struct cmd_mail_context *mail_cmd)
58 struct smtp_server_cmd_ctx *cmd = mail_cmd->cmd;
59 struct client *client = mail_cmd->client;
63 i_assert(mail_cmd != NULL);
64 mail_cmd->cmd_proxied = NULL;
136 struct cmd_mail_context *mail_cmd;
149 mail_cmd = p_new(cmd->pool, struct cmd_mail_context, 1);
150 mail_cmd->cmd = cmd;
151 mail_cmd->data = data;
152 mail_cmd->client = client;
154 cmd->context = mail_cmd;
156 mail_cmd->cmd_proxied = smtp_client_command_mail_submit(
158 cmd_mail_proxy_cb, mail_cmd);