From: Art Cancro Date: Wed, 3 Oct 2001 20:05:50 +0000 (+0000) Subject: * serv_smtp.c: implement RFC2920 ESMTP "pipelining" extension on the server X-Git-Tag: v7.86~6770 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=d79b4ab719cd8f52f99e2be8ead10fa64a0c09ce;p=citadel.git * serv_smtp.c: implement RFC2920 ESMTP "pipelining" extension on the server side. (No changes required other than advertising the extension.) --- diff --git a/citadel/ChangeLog b/citadel/ChangeLog index cb110d212..e058bd5c5 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -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 Fri Jul 10 1998 Art Cancro * Initial CVS import + diff --git a/citadel/serv_smtp.c b/citadel/serv_smtp.c index 7cd291824..b79d44030 100644 --- a/citadel/serv_smtp.c +++ b/citadel/serv_smtp.c @@ -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]);