From: Art Cancro Date: Sat, 5 Jun 2021 19:51:49 +0000 (-0400) Subject: 2021-06-02 03:45 from jmb100770 X-Git-Tag: v939~51 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=227c43a78394d957fda061f46c5cd46d4cb117ad 2021-06-02 03:45 from jmb100770 Subject: Re: 500 No such user on AUTH LOGIN I encountered this same authentication problem with version 931 built via easy-install.  I think the problem is with citadel/modules/smtp/serv_smtp.c where smtp_get_user(5) is called in smtp_command_loop.  From this context, the offset parameter 5 should be replaced by zero (0).  I modified the easy-install script to work with a patched copy of the tarball and the resulting build seems to work correctly. --- diff --git a/citadel/modules/smtp/serv_smtp.c b/citadel/modules/smtp/serv_smtp.c index 0987cb80b..f8d7466d6 100644 --- a/citadel/modules/smtp/serv_smtp.c +++ b/citadel/modules/smtp/serv_smtp.c @@ -980,7 +980,7 @@ void smtp_command_loop(void) { smtp_try_plain(); } else { - smtp_get_user(5); + smtp_get_user(0); } return; }