* serv_smtp.c: implement RFC2920 ESMTP "pipelining" extension on the server
authorArt Cancro <ajc@citadel.org>
Wed, 3 Oct 2001 20:05:50 +0000 (20:05 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 3 Oct 2001 20:05:50 +0000 (20:05 +0000)
  side.  (No changes required other than advertising the extension.)

citadel/ChangeLog
citadel/serv_smtp.c

index cb110d2123938e0d75ed952a72a0de881414da69..e058bd5c5b54858724e3b57ca6e9b025dba34fdb 100644 (file)
@@ -1,4 +1,8 @@
  $Log$
+ Revision 580.50  2001/10/03 20:05:50  ajc
+ * serv_smtp.c: implement RFC2920 ESMTP "pipelining" extension on the server
+   side.  (No changes required other than advertising the extension.)
+
  Revision 580.49  2001/10/03 03:15:16  ajc
  * Implemented BOUNCE BOUNCE BOUNCE
 
@@ -2768,3 +2772,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 7cd291824dcf4fd63dd988b5d2bb7aa47cfa6e6f..b79d4403023b9f522f9dbbe33418dd00f7128a92 100644 (file)
@@ -119,6 +119,7 @@ void smtp_hello(char *argbuf, int is_esmtp) {
                cprintf("250-Extended greetings and joyous salutations.\r\n");
                cprintf("250-HELP\r\n");
                cprintf("250-SIZE %ld\r\n", config.c_maxmsglen);
+               cprintf("250-PIPELINING\r\n");
                cprintf("250 AUTH=LOGIN\r\n");
        }
 }
@@ -746,14 +747,14 @@ void smtp_command_loop(void) {
        }
 
        else if (!strncasecmp(cmdbuf, "NOOP", 4)) {
-               cprintf("250 This command successfully did nothing.\r\n");
+               cprintf("250 NOOP\r\n");
        }
 
        else if (!strncasecmp(cmdbuf, "QUIT", 4)) {
                cprintf("221 Goodbye...\r\n");
                CC->kill_me = 1;
                return;
-               }
+       }
 
        else if (!strncasecmp(cmdbuf, "RCPT", 4)) {
                smtp_rcpt(&cmdbuf[5]);