<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>timsieved backend: Shared rule modification doesn&#039;t</title> 
  <pubDate>Sat, 04 Apr 2026 23:02:54 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6366?Horde=a0b6fb96c4accaa20818c78dbac5cd76</link> 
  <atom:link rel="self" type="application/rss+xml" title="timsieved backend: Shared rule modification doesn&#039;t" href="https://bugs.horde.org/ticket/6366/rss?Horde=a0b6fb96c4accaa20818c78dbac5cd76" /> 
  <description>timsieved backend: Shared rule modification doesn&#039;t</description> 
 
   
   
  <item> 
   <title>Apparently, the timsieved driver does not work when shares=t</title> 
   <description>Apparently, the timsieved driver does not work when shares=true, hordeauth=false and the admin credentials are configured in backends.php. Horde is configured to authenticate against IMAP.



I configured backends.php like that:



$backends[&#039;sieve&#039;] = array(

    &#039;driver&#039; =&gt; &#039;timsieved&#039;,

    &#039;preferred&#039; =&gt; &#039;xxxxxxxxxxxxxxxxxx&#039;,

    &#039;hordeauth&#039; =&gt; false,

    &#039;params&#039; =&gt; array(

        // Hostname of the timsieved server

        &#039;hostspec&#039; =&gt; &#039;xxxxxxxxxxxxxxxxx&#039;,

        // Login type of the server

        &#039;logintype&#039; =&gt; &#039;PLAIN&#039;,

        // Enable/disable TLS encryption

        &#039;usetls&#039; =&gt; false,

        // Port number of the timsieved server

        &#039;port&#039; =&gt; 2000,

        // Name of the sieve script

        &#039;scriptname&#039; =&gt; &#039;ingo&#039;,

        // The following settings can be used to specify an administration

        // user to update all users&#039; scripts. If you want to use an admin

        // user, you also need to disable &#039;hordeauth&#039; above. You have to use

        // an admin user if you want to use shared rules.

        &#039;username&#039; =&gt; &#039;adminuser&#039;,

        &#039;password&#039; =&gt; &#039;xxxxx&#039;

    ),

    &#039;script&#039; =&gt; &#039;sieve&#039;,

    &#039;scriptparams&#039; =&gt; array(),

    &#039;shares&#039; =&gt; true

);





It still used the IMAP credentials to log in. I had a look a the timsieved Driver and applied the patch below. Then I changed the config to state &quot;admin&quot; instead of &quot;username&quot; and &quot;adminpassword&quot; instead of &quot;password&quot;. With these modifications I succeeded in authenticating at least. However it looks like as effective user id, always my IMAP user ID is used, so I&#039;m not able to modify other user&#039;s sieve rules. In the ruleset chooser my account is displayed twice, once with value &quot;:myusername&quot; and once with &quot;sieve:myusername&quot;.





Patch against: timsieved.php,v 1.15.10.9 2008/01/02 11:32:09 jan Exp $



64a65

&gt;             $pw = $this-&gt;_params[&#039;password&#039;];

66a68

&gt;             $pw = $this-&gt;_params[&#039;adminpassword&#039;];

69c71,72

&lt;                                        $this-&gt;_params[&#039;password&#039;],

---

&gt; #                                       $this-&gt;_params[&#039;password&#039;],

&gt;                                        $pw,



</description> 
   <pubDate>Mon, 03 Mar 2008 22:34:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6366#t43360</link> 
  </item> 
   
  <item> 
   <title>Would it help to sponsor a bounty to have this bug resolved </title> 
   <description>Would it help to sponsor a bounty to have this bug resolved as soon as possible?

We desperately need the ability to set vacation messages for all users by the admin.</description> 
   <pubDate>Wed, 02 Apr 2008 14:57:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6366#t44316</link> 
  </item> 
   
  <item> 
   <title>I can&#039;t reproduce this. With the settings you described, Ing</title> 
   <description>I can&#039;t reproduce this. With the settings you described, Ingo is correctly authenticating as the user specified in &#039;username&#039;. It is *authorizing* as the current user though, but that&#039;s obviously the expected behavior.</description> 
   <pubDate>Sat, 17 May 2008 20:19:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6366#t45324</link> 
  </item> 
   
  <item> 
   <title>Maybe I don&#039;t understand what this feature is actually doing</title> 
   <description>Maybe I don&#039;t understand what this feature is actually doing. Couldn&#039;t find any documentation on that. What I&#039;m trying to do is that I can log in as an admin in order to change the vacation settings of a user that is already out of office. The admin does not know the users passwords. Is that possible with this feature?

I never got it to display a list of users in the popup menu.



&gt; I can&#039;t reproduce this. With the settings you described, Ingo is 

&gt; correctly authenticating as the user specified in &#039;username&#039;. It is 

&gt; *authorizing* as the current user though, but that&#039;s obviously the 

&gt; expected behavior.

</description> 
   <pubDate>Tue, 20 May 2008 13:58:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6366#t45406</link> 
  </item> 
   
  <item> 
   <title>Assigning to Jan for classification as a bug or misunderstan</title> 
   <description>Assigning to Jan for classification as a bug or misunderstanding of the feature.</description> 
   <pubDate>Fri, 23 May 2008 19:20:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6366#t45505</link> 
  </item> 
   
  <item> 
   <title>You have to enable &#039;shares&#039; for this to happen, and the user</title> 
   <description>You have to enable &#039;shares&#039; for this to happen, and the users have to assign permissions for their rules to the user who is going to updated the rules for them.

For further questions, please use the mailing list.</description> 
   <pubDate>Sat, 24 May 2008 16:55:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6366#t45537</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
