aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-03-16 16:52:53 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-03-16 16:52:53 +0000
commit6ab7f52b691d6fd18274d089f415ce30f1280258 (patch)
treed8657e6b772306e5f4d711efb62e9d418ce4f9c0
parente404504339dcad7f0a9e0db6161091c349699169 (diff)
downloadfetchmail-6ab7f52b691d6fd18274d089f415ce30f1280258.tar.gz
fetchmail-6ab7f52b691d6fd18274d089f415ce30f1280258.tar.bz2
fetchmail-6ab7f52b691d6fd18274d089f415ce30f1280258.zip
Deal with M$ Exchange braindamage.
svn path=/trunk/; revision=1702
-rw-r--r--NEWS1
-rw-r--r--fetchmail.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 510c9c8f..d82a89e5 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,7 @@ fetchmail-4.4.0 (Fri Mar 13 15:48:27 EST 1998):
* Fix bug that prevented graceful exit from POP3 validation on wrong password.
* Dominique Unruh's patch that copes gracefully with bodiless messages.
* Fix timer-leak problem with the SIGALRM fix, pointed out by Dave Bodenstab.
+* Deal with more M$ Exchange braindamage (violating an RFC1939 limit).
* Improvements in UID handling; should be a cleaner fix for Dick van den Burg.
There are 270 people on fetchmail-friends and 160 on fetchmail-announce.
diff --git a/fetchmail.h b/fetchmail.h
index 9480ddb0..76b88bff 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -30,9 +30,11 @@
*/
#define HOSTLEN 635 /* max hostname length (RFC1123) */
#define POPBUFSIZE 512 /* max length of response (RFC1939) */
-#define USERNAMELEN 40 /* max POP3 arg length (RFC1939) */
#define IDLEN 128 /* max length of UID (RFC1939) */
+/* per RFC1939 this should be 40, but Microsoft Exchange ignores that limit */
+#define USERNAMELEN 128 /* max POP3 arg length */
+
/* clear a netBSD kernel parameter out of the way */
#undef MSGBUFSIZE