Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2009 09:18:21 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>
Subject:   ports/132529: [patch] mail/squirrelmail-avelsieve-plugin
Message-ID:  <20090311091821.F0A5A4899B5@storage.int.zabbadoz.net>
Resent-Message-ID: <200903110930.n2B9U4ET039332@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090311091821.F0A5A4899B5>