From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 11 09:30:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7865E1065670 for ; Wed, 11 Mar 2009 09:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4A92E8FC12 for ; Wed, 11 Mar 2009 09:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2B9U4Nr039336 for ; Wed, 11 Mar 2009 09:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2B9U4ET039332; Wed, 11 Mar 2009 09:30:04 GMT (envelope-from gnats) Resent-Date: Wed, 11 Mar 2009 09:30:04 GMT Resent-Message-Id: <200903110930.n2B9U4ET039332@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Bjoern A. Zeeb" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 198801065679 for ; Wed, 11 Mar 2009 09:20:08 +0000 (UTC) (envelope-from bz@zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id B97E48FC1D for ; Wed, 11 Mar 2009 09:20:07 +0000 (UTC) (envelope-from bz@zabbadoz.net) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id D020D41C63C for ; Wed, 11 Mar 2009 10:20:06 +0100 (CET) Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id TsEoz4XKBaL1 for ; Wed, 11 Mar 2009 10:20:06 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 0B36841C5C9; Wed, 11 Mar 2009 10:20:06 +0100 (CET) Received: from storage.int.zabbadoz.net (storage.int.zabbadoz.net [10.111.66.189]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 1B9EA4448E6; Wed, 11 Mar 2009 09:18:22 +0000 (UTC) Received: by storage.int.zabbadoz.net (Postfix, from userid 1060) id F0A5A4899B5; Wed, 11 Mar 2009 09:18:21 +0000 (UTC) Message-Id: <20090311091821.F0A5A4899B5@storage.int.zabbadoz.net> Date: Wed, 11 Mar 2009 09:18:21 +0000 (UTC) From: "Bjoern A. Zeeb" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: "Bjoern A. Zeeb" Subject: ports/132529: [patch] mail/squirrelmail-avelsieve-plugin X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Bjoern A. Zeeb" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2009 09:30:04 -0000 >Number: 132529 >Category: ports >Synopsis: [patch] mail/squirrelmail-avelsieve-plugin >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 11 09:30:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Bjoern A. Zeeb >Release: FreeBSD 8.0-CURRENT amd64 >Organization: Zabbadoz.NeT >Environment: System: FreeBSD foo 8.0-CURRENT FreeBSD 8.0-CURRENT #0: 2009 bz@foo:/path/to/HEAD/sys/KERNEL amd64 >Description: squirrelmail-avelsieve fails to fetch sieve filters from server. >How-To-Repeat: Login in to squirrelmail and click on Filter to edit your sieve filters and there will be none, if if there is on the server. Adding one and editing that works as long as the session is valid but are gone again after a Logout. >Fix: See patch below and the therein referenced bug report that I found after identifying the problem. You can also temporarily fetch the patch from: http://people.freebsd.org/~bz/mail-squirrelmail-avelsieve-plugin-20090311.diff This adds the new file files/patch-avelsieve__include__managesieve.lib.php One may want to give a warning on pkg-install that TLS is disabled hard because it does not work with the code as is so that users would be aware of that regression. Index: mail/squirrelmail-avelsieve-plugin/files/patch-avelsieve__include__managesieve.lib.php =================================================================== RCS file: mail/squirrelmail-avelsieve-plugin/files/patch-avelsieve__include__managesieve.lib.php diff -N mail/squirrelmail-avelsieve-plugin/files/patch-avelsieve__include__managesieve.lib.php --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ mail/squirrelmail-avelsieve-plugin/files/patch-avelsieve__include__managesieve.lib.php 11 Mar 2009 09:04:30 -0000 @@ -0,0 +1,27 @@ +! +! Do not use TLS (ingore the STARTTLS) as doing so +! makes it impossible to do a LISTSCRIPTS which +! gets back the response from CAPABILITY again. +! +! This is not a proper bugfix but the only workaround +! that I found to be working. +! +! See also conclusions from the original submitter +! http://email.uoa.gr/avelsieve/ticket/246 +! +--- ./avelsieve/include/managesieve.lib.php.orig 2006-07-24 15:48:27.000000000 +0200 ++++ ./avelsieve/include/managesieve.lib.php 2009-03-11 09:58:02.000000000 +0100 +@@ -448,9 +448,10 @@ + } /* end if */ + elseif(is_string($this->modules)) + $this->capabilites[$this->cap_type][$this->modules]=true; +- } +- elseif(strcmp($this->item[0], "STARTTLS") == 0) { +- $this->capabilities['starttls'] = true; ++ # http://email.uoa.gr/avelsieve/ticket/246 ++ #} ++ #elseif(strcmp($this->item[0], "STARTTLS") == 0) { ++ # $this->capabilities['starttls'] = true; + + } + else{ >Release-Note: >Audit-Trail: >Unformatted: