Date: Wed, 02 Sep 1998 17:05:56 +0200 From: Stefan Bethke <stefan.bethke@hanse.de> To: jfitz@FreeBSD.ORG Cc: freebsd-ports@FreeBSD.ORG Subject: ports/mail/cyrus Message-ID: <1446957.3113744756@d254.promo.de>
next in thread | raw e-mail | index | archive | help
--==========01452717========== Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, the enclosed patch adds the new option ALLOW_8BIT_IN_HEADER to the port. Because RFC822 mandates that only characters within the ASCII range are permitted in messages, imapd rejects messages containing such characters = in the header. The new option is a gross hack to allow the chars anyway. It has been in use for almost a year now. imapd doesn't seem to have a problem with these chars. Because it is a hack, I feel it should be non-standard (as the = patch makes it). Additionally, the patch makes the port honor CFLAGS. If you have no objections, I would commit this the next few days (or let you do it). Thanks, Stefan -- M=FChlendamm 12 | Voice +49-40-256848, +49-177-3504009 D-22089 Hamburg | e-mail: stefan.bethke@hanse.de Germany | stb@freebsd.org --==========01452717========== Content-Type: text/plain; charset=us-ascii; name="cyrus.patch" Content-Transfer-Encoding: 7bit --- Makefile.orig Sun Jan 25 11:27:33 1998 +++ Makefile Wed Sep 2 14:15:23 1998 @@ -22,6 +22,11 @@ --with-tcl=${PREFIX} \ --with-login=unix_pwcheck \ --with-auth=unix +.if defined(ALLOW_8BIT_IN_HEADER) +CONFIGURE_ENV= CFLAGS="${CFLAGS}" CPPFLAGS="-DALLOW_8BIT_IN_HEADER" +.else +CONFIGURE_ENV= CFLAGS="${CFLAGS}" +.endif MAN1= cyradm.1 MAN3= imclient.3 --- patches/patch-ca.orig Wed Sep 2 16:49:58 1998 +++ patches/patch-ca Wed Sep 2 14:33:34 1998 @@ -0,0 +1,12 @@ +--- imap/message.c.orig Sat Dec 21 03:08:32 1996 ++++ imap/message.c Wed Sep 2 14:28:53 1998 +@@ -242,7 +242,9 @@ + + /* Check for non-ASCII character */ + for (p = (unsigned char *)buf; *p; p++) { ++#if !defined(ALLOW_8BIT_IN_HEADER) + if (*p >= 0x80) return IMAP_MESSAGE_CONTAINS8BIT; ++#endif + } + + sawnl = (p[-1] == '\n'); --==========01452717==========-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1446957.3113744756>