[exim-cvs] cvs commit: exim/exim-doc/doc-txt ChangeLog exim…

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: exim-cvs
Temat: [exim-cvs] cvs commit: exim/exim-doc/doc-txt ChangeLog exim/exim-src/src smtp_in.c
ph10 2005/03/22 10:11:43 GMT

  Modified files:
    exim-doc/doc-txt     ChangeLog 
    exim-src/src         smtp_in.c 
  Log:
  Increase incoming SMTP command buffer size from 512 to 2048 (see RFC
  1869).


  Revision  Changes    Path
  1.93      +5 -0      exim/exim-doc/doc-txt/ChangeLog
  1.14      +5 -2      exim/exim-src/src/smtp_in.c


  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- ChangeLog    15 Mar 2005 15:36:41 -0000    1.92
  +++ ChangeLog    22 Mar 2005 10:11:42 -0000    1.93
  @@ -1,4 +1,4 @@
  -$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.92 2005/03/15 15:36:41 ph10 Exp $
  +$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.93 2005/03/22 10:11:42 ph10 Exp $


   Change log file for Exim from version 4.21
   -------------------------------------------
  @@ -49,6 +49,11 @@
          reverse_host_lookup/defer_ok". An error is now given when options are
          supplied for verify items that do not have them. (Maybe reverse_host_
          lookup should have a defer_ok option, but that's a different point.)
  +
  +PH/07. Increase the size of the buffer for incoming SMTP commands from 512 (as
  +       defined by RFC 821) to 2048, because there were problems with some AUTH
  +       commands, and RFC 1869 says the size should be increased for extended
  +       SMTP commands that take arguments.



A note about Exim versions 4.44 and 4.50

  Index: smtp_in.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/smtp_in.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- smtp_in.c    15 Mar 2005 14:09:12 -0000    1.13
  +++ smtp_in.c    22 Mar 2005 10:11:43 -0000    1.14
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/smtp_in.c,v 1.13 2005/03/15 14:09:12 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/smtp_in.c,v 1.14 2005/03/22 10:11:43 ph10 Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -34,9 +34,12 @@
   #endif



-/* Size of buffer for reading SMTP commands */
+/* Size of buffer for reading SMTP commands. We used to use 512, as defined
+by RFC 821. However, RFC 1869 specifies that this must be increased for SMTP
+commands that accept arguments, and this in particular applies to AUTH, where
+the data can be quite long. */

  -#define cmd_buffer_size  512      /* Ref. RFC 821 */
  +#define cmd_buffer_size  2048


/* Size of buffer for reading SMTP incoming packets */