and to local connections

Signed-off-by: AGentooCat <agentoocat@mail.i2p>
This commit is contained in:
2025-06-10 15:26:35 +00:00
parent 635fc58580
commit 11c06c1961

View File

@ -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) {