/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
#include "submission-common.h"
#include "str.h"
#include "ostream.h"
#include "smtp-client.h"
#include "smtp-client-connection.h"
#include "submission-commands.h"
/*
* EHLO, HELO commands
*/
struct cmd_helo_context {
};
struct smtp_server_cmd_helo *data)
{
return;
i_zero(&proxy_data);
}
struct smtp_server_cmd_ctx *cmd)
{
URL_HOST_ALLOW_ANY) == 0) {
} else {
}
}
if ((proxy_caps & SMTP_CAPABILITY_8BITMIME) != 0)
if ((proxy_caps & SMTP_CAPABILITY_BINARYMIME) != 0 &&
(proxy_caps & SMTP_CAPABILITY_CHUNKING) != 0)
if ((proxy_caps & SMTP_CAPABILITY_DSN) != 0)
"ENHANCEDSTATUSCODES");
"PIPELINING");
if (cap_size > 0) {
} else {
}
}
}
{
/* proxy an XCLIENT command */
T_BEGIN {
} T_END;
}
struct cmd_helo_context *cmd_helo)
{
return;
} else {
/* RFC 2034, Section 4:
These codes must appear in all 2xx, 4xx, and 5xx response
lines other than initial greeting and any response to HELO
or EHLO.
*/
}
}
{
/* proxy an XCLIENT command */
}
struct smtp_server_cmd_helo *data)
{
>= SMTP_SERVER_STATE_READY) {
return 0;
}
/* respond right away */
return 1;
}