aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-05-16 13:51:33 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-05-16 13:51:33 +0000
commit7e4686d58696b1b8c728dfdb651cd46ccd44984d (patch)
tree7deba518f1d96d31705a33016a6e1fc6ae535dbe
parentd047261387e88d8c6c116cf892ad58b7aa5aa3ba (diff)
downloadfetchmail-7e4686d58696b1b8c728dfdb651cd46ccd44984d.tar.gz
fetchmail-7e4686d58696b1b8c728dfdb651cd46ccd44984d.tar.bz2
fetchmail-7e4686d58696b1b8c728dfdb651cd46ccd44984d.zip
Lengthen the line buffer big-time.
svn path=/trunk/; revision=1780
-rw-r--r--fetchmail.h9
1 files changed, 8 insertions, 1 deletions
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 */