/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "str.h"
#include "smtp-syntax.h"
#include "smtp-server-private.h"
/* EHLO, HELO commands */
{
/* failure */
return;
}
/* success */
}
{
}
static void
bool old_smtp)
{
int ret;
/* parse domain argument */
if (*params == '\0') {
return;
}
/* specific implementation of EHLO command */
/* command is waiting for external event or it failed */
return;
}
}
if (!smtp_server_command_is_replied(command)) {
/* set generic EHLO reply if none is provided */
if (!old_smtp) {
if ((caps & SMTP_CAPABILITY_8BITMIME) != 0)
if ((caps & SMTP_CAPABILITY_BINARYMIME) != 0 &&
(caps & SMTP_CAPABILITY_CHUNKING) != 0)
if ((caps & SMTP_CAPABILITY_CHUNKING) != 0)
if ((caps & SMTP_CAPABILITY_DSN) != 0)
if ((caps & SMTP_CAPABILITY_ENHANCEDSTATUSCODES) != 0) {
"ENHANCEDSTATUSCODES");
}
if ((caps & SMTP_CAPABILITY_STARTTLS) != 0)
}
}
}
const char *params)
{
/* ehlo = "EHLO" SP ( Domain / address-literal ) CRLF */
}
const char *params)
{
/* helo = "HELO" SP Domain CRLF */
}