RFC-compliant error messages.
$Log$
+ Revision 573.119 2001/03/25 11:52:36 error
+ * serv_pop3.c: Fixed APOP. Now logs in properly. Also cleaned up some non-
+ RFC-compliant error messages.
+
Revision 573.118 2001/03/21 05:47:49 ajc
* Added the new IMAP mailbox string compare submitted by Daniel Malament.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
if ((sptr = strchr(argbuf, ' ')) == NULL)
{
- cprintf("Invalid APOP line.\r\n");
+ cprintf("-ERR Invalid APOP line.\r\n");
return;
}
make_apop_string(CC->usersupp.password, CC->cs_nonce, realdigest);
if (!strncasecmp(realdigest, userdigest, MD5_HEXSTRING_SIZE-1))
{
+ do_login();
pop3_login();
}
else
}
else {
- cprintf("500 I'm afraid I can't do that.\r\n");
+ cprintf("-ERR I'm afraid I can't do that.\r\n");
}
}