diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-04-14 21:51:51 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-04-14 21:51:51 +0100 |
commit | bf624a64a4395692f94ad304126a81d35a6d95df (patch) | |
tree | 35d6ea5213f8f426b9ec5b4dacb7acdb5cff6d74 /src | |
parent | 6a72548d36fb6697c5748cb944dfdcbfeb31ad76 (diff) |
Early-pipe: invalidate cache on a failure of required-auth
Diffstat (limited to 'src')
-rw-r--r-- | src/src/transports/smtp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index 5fb22bcd3..5656e7903 100644 --- a/src/src/transports/smtp.c +++ b/src/src/transports/smtp.c @@ -1548,6 +1548,7 @@ if ( sx->esmtp if (require_auth == OK && !f.smtp_authenticated) { + invalidate_ehlo_cache_entry(sx); set_errno_nohost(sx->addrlist, ERRNO_AUTHFAIL, string_sprintf("authentication required but %s", fail_reason), DEFER, FALSE, &sx->delivery_start); |