From owner-freebsd-ports Wed Sep 2 08:07:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA03437 for freebsd-ports-outgoing; Wed, 2 Sep 1998 08:07:24 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from mail.promo.de (mail.Promo.DE [194.45.188.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA03380; Wed, 2 Sep 1998 08:07:00 -0700 (PDT) (envelope-from stefan.bethke@hanse.de) Received: from d254.promo.de (d254.Promo.DE [194.45.188.254]) by mail.promo.de (8.8.8/8.8.8) with ESMTP id RAA11902; Wed, 2 Sep 1998 17:02:30 +0200 (CEST) Date: Wed, 02 Sep 1998 17:05:56 +0200 From: Stefan Bethke To: jfitz@FreeBSD.ORG cc: freebsd-ports@FreeBSD.ORG Subject: ports/mail/cyrus Message-ID: <1446957.3113744756@d254.promo.de> Originator-Info: login-id=stefan; server=mail X-Mailer: Mulberry Demo (MacOS) [1.4.0b2, s/n Evaluation] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="==========01452717==========" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --==========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