+#define A_KERBEROS_V5 2 /* preauthenticate w/ Kerberos V5 */
+
+/*
+ * Definitions for buffer sizes. We get little help on setting maxima
+ * from IMAP RFCs up to 2060, so these are mostly from POP3.
+ */
+#define HOSTLEN 635 /* max hostname length (RFC1123) */
+#define POPBUFSIZE 512 /* max length of response (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
+
+/*
+ * 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