and to local connections
Signed-off-by: AGentooCat <agentoocat@mail.i2p>
This commit is contained in:
@ -366,6 +366,9 @@ int smtp_line(struct lineconn_t *hand) {
|
||||
SETMSGON(NOOP, "220 OK...");
|
||||
|
||||
case AUTH:
|
||||
if (state->is_incoming)
|
||||
goto smtplinefail;
|
||||
|
||||
if (strcmp(com->argv[0], "PLAIN") != 0) {
|
||||
msg = "501 Unknown auth type; only PLAIN is supported";
|
||||
} else if (state->from || state->auth_admin) {
|
||||
|
Reference in New Issue
Block a user