#define ERRSTR_TEMP_MAILBOX_FAIL "451 4.3.0 <%s> Temporary internal error"
+/*
+ * EHLO command
+ */
+
int cmd_lhlo(struct client *client, const char *args)
{
struct rfc822_parser_context parser;
return 0;
}
+/*
+ * STARTTLS command
+ */
+
int cmd_starttls(struct client *client)
{
struct ostream *plain_output = client->output;
return 0;
}
+/*
+ * MAIL command
+ */
+
int cmd_mail(struct client *client, const char *args)
{
struct smtp_address *address;
return 0;
}
+/*
+ * RCPT command
+ */
+
int cmd_rcpt(struct client *client, const char *args)
{
struct mail_recipient *rcpt;
}
}
+/*
+ * QUIT command
+ */
+
int cmd_quit(struct client *client, const char *args ATTR_UNUSED)
{
client_send_line(client, "221 2.0.0 OK");
return -1;
}
+/*
+ * VRFY command
+ */
+
int cmd_vrfy(struct client *client, const char *args ATTR_UNUSED)
{
client_send_line(client, "252 2.3.3 Try RCPT instead");
return 0;
}
+/*
+ * RSET command
+ */
+
int cmd_rset(struct client *client, const char *args ATTR_UNUSED)
{
client_state_reset(client, "RSET");
return 0;
}
+/*
+ * NOOP command
+ */
+
int cmd_noop(struct client *client, const char *args ATTR_UNUSED)
{
client_send_line(client, "250 2.0.0 OK");
return 0;
}
+/*
+ * DATA command
+ */
+
static struct istream *client_get_input(struct client *client)
{
struct client_state *state = &client->state;
return -1;
}
+/*
+ * XCLIENT command
+ */
+
int cmd_xclient(struct client *client, const char *args)
{
const char *const *tmp;