/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
#include "submission-common.h"
#include "smtp-client.h"
#include "smtp-client-connection.h"
#include "submission-commands.h"
/*
* QUIT command
*/
struct cmd_quit_context {
};
{
}
static void cmd_quit_proxy_cb(
struct cmd_quit_context *quit_cmd)
{
}
{
return;
/* Don't bother proxying QUIT command when proxy is not
fully initialized. */
return;
}
/* RFC 5321, Section 4.1.1.10:
The sender MUST NOT intentionally close the transmission channel
until it sends a QUIT command, and it SHOULD wait until it receives
the reply (even if there was an error response to a previous
command). */
}
{
/* QUIT command is next to reply */
/* give relay server brief interval to reply */
}
}
{
return 0;
}