From 7e4686d58696b1b8c728dfdb651cd46ccd44984d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 16 May 1998 13:51:33 +0000 Subject: Lengthen the line buffer big-time. svn path=/trunk/; revision=1780 --- fetchmail.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'fetchmail.h') diff --git a/fetchmail.h b/fetchmail.h index 867bbad0..0155bcc0 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -38,7 +38,14 @@ /* clear a netBSD kernel parameter out of the way */ #undef MSGBUFSIZE -#define MSGBUFSIZE 998 /* RFC822 limit on message line size */ +/* + * The RFC822 limit on message line size is just 998. But + * make this *way* oversized; idiot DOS-world mailers that + * don't line-wrap properly often ship entire paragraphs as + * lines. + */ +#define MSGBUFSIZE 8192 + #define PASSWORDLEN 64 /* max password length */ #define DIGESTLEN 33 /* length of MD5 digest */ -- cgit v1.2.3