aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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