2021-06-02 03:45 from jmb100770
authorArt Cancro <ajc@citadel.org>
Sat, 5 Jun 2021 19:51:49 +0000 (15:51 -0400)
committerArt Cancro <ajc@citadel.org>
Sat, 5 Jun 2021 19:51:49 +0000 (15:51 -0400)
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.

citadel/modules/smtp/serv_smtp.c

index 0987cb80b04c99a492c3aac062c4bda4f6def0cc..f8d7466d6baf1f5682eae8ba7a4cca3fc285a169 100644 (file)
@@ -980,7 +980,7 @@ void smtp_command_loop(void) {
                        smtp_try_plain();
                }
                else {
-                       smtp_get_user(5);
+                       smtp_get_user(0);
                }
                return;
        }