6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/22/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6366] timsieved backend: Shared rule modification doesn't
*
Your Email Address
*
Spam protection
Enter the letters below:
. ,.___..__ ._.. , \./ _/ [__) | \./ | ./__.| \_|_ |
Comment
> 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['sieve'] = array( > > 'driver' => 'timsieved', > > 'preferred' => 'xxxxxxxxxxxxxxxxxx', > > 'hordeauth' => false, > > 'params' => array( > > // Hostname of the timsieved server > > 'hostspec' => 'xxxxxxxxxxxxxxxxx', > > // Login type of the server > > 'logintype' => 'PLAIN', > > // Enable/disable TLS encryption > > 'usetls' => false, > > // Port number of the timsieved server > > 'port' => 2000, > > // Name of the sieve script > > 'scriptname' => 'ingo', > > // The following settings can be used to specify an administration > > // user to update all users' scripts. If you want to use an admin > > // user, you also need to disable 'hordeauth' above. You have to use > > // an admin user if you want to use shared rules. > > 'username' => 'adminuser', > > 'password' => 'xxxxx' > > ), > > 'script' => 'sieve', > > 'scriptparams' => array(), > > 'shares' => 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 "admin" instead of "username" and "adminpassword" > instead of "password". 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'm not able to modify other > user's sieve rules. In the ruleset chooser my account is displayed > twice, once with value ":myusername" and once with "sieve:myusername". > > > > > > Patch against: timsieved.php,v 1.15.10.9 2008/01/02 11:32:09 jan Exp $ > > > > 64a65 > >> $pw = $this->_params['password']; > > 66a68 > >> $pw = $this->_params['adminpassword']; > > 69c71,72 > > < $this->_params['password'], > > --- > >> # $this->_params['password'], > >> $pw, > > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers