diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-03-22 10:11:42 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-03-22 10:11:42 +0000 |
commit | 8d67ada3e036ae1b48d7f20a82af42f9e52b810d (patch) | |
tree | 7b3e8e4c7dde72fdec398fa87aaf64613b3c5c1a /src | |
parent | fdfdba092c42d919d2942c258b297394c41121da (diff) |
Increase incoming SMTP command buffer size from 512 to 2048 (see RFC
1869).
Diffstat (limited to 'src')
-rw-r--r-- | src/src/smtp_in.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/src/smtp_in.c b/src/src/smtp_in.c index 7328280be..7348e9b15 100644 --- a/src/src/smtp_in.c +++ b/src/src/smtp_in.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/smtp_in.c,v 1.13 2005/03/15 14:09:12 ph10 Exp $ */ +/* $Cambridge: 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 @@ int deny_severity = LOG_NOTICE; #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 */ |