]> code.citadel.org Git - citadel.git/commitdiff
* serv_smtp.c: validated and documented compliance with a big pile of RFC's
authorArt Cancro <ajc@citadel.org>
Mon, 8 Dec 2003 17:41:01 +0000 (17:41 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 8 Dec 2003 17:41:01 +0000 (17:41 +0000)
  which are in one way or another related to SMTP.

citadel/ChangeLog
citadel/serv_smtp.c

index cc4e2885f28d6902991d6e9f826ce52bc6fd4759..f7d981df83edbceff4ace611c0e6bb660f75ab0e 100644 (file)
@@ -1,4 +1,8 @@
  $Log$
+ Revision 612.5  2003/12/08 17:41:01  ajc
+ * serv_smtp.c: validated and documented compliance with a big pile of RFC's
+   which are in one way or another related to SMTP.
+
  Revision 612.4  2003/12/07 19:59:13  error
  * Minor enhancements to a few of the trace file entries
 
@@ -5111,3 +5115,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
+
index e6be064ca81d5543f33bde1527f545d20dbba7ea..5941ebaf697c78deab0b4f5c2079f68bc3bcba6c 100644 (file)
@@ -1,13 +1,23 @@
 /*
  * $Id$
  *
- * This module implements the following protocols for the Citadel system:
+ * This module is an SMTP and ESMTP implementation for the Citadel system.
+ * It is compliant with all of the following:
  *
- * RFC 821 (Simple Mail Transfer Protocol)
- * RFC 1854 (command pipelining)
- * RFC 1869 (Extended Simple Mail Transfer Protocol)
- * RFC 2033 (Local Mail Transfer Protocol)
- * RFC 2034 (enhanced status codes)
+ * RFC  821 - Simple Mail Transfer Protocol
+ * RFC  876 - Survey of SMTP Implementations
+ * RFC 1047 - Duplicate messages and SMTP
+ * RFC 1854 - command pipelining
+ * RFC 1869 - Extended Simple Mail Transfer Protocol
+ * RFC 1870 - SMTP Service Extension for Message Size Declaration
+ * RFC 1893 - Enhanced Mail System Status Codes
+ * RFC 2033 - Local Mail Transfer Protocol
+ * RFC 2034 - SMTP Service Extension for Returning Enhanced Error Codes
+ * RFC 2197 - SMTP Service Extension for Command Pipelining
+ * RFC 2554 - SMTP Service Extension for Authentication
+ * RFC 2821 - Simple Mail Transfer Protocol
+ * RFC 2822 - Internet Message Format
+ * RFC 2920 - SMTP Service Extension for Command Pipelining
  *
  */
 
@@ -220,7 +230,7 @@ void smtp_get_pass(char *argbuf) {
                CC->cs_flags &= ~CS_STEALTH;
        }
        else {
-               cprintf("500 5.7.0 Authentication failed.\r\n");
+               cprintf("535 5.7.0 Authentication failed.\r\n");
        }
        SMTP->command_state = smtp_command;
 }
@@ -233,7 +243,7 @@ void smtp_auth(char *argbuf) {
        char buf[SIZ];
 
        if (strncasecmp(argbuf, "login", 5) ) {
-               cprintf("550 5.7.4 We only support LOGIN authentication.\r\n");
+               cprintf("504 5.7.4 We only support LOGIN authentication.\r\n");
                return;
        }