Administrate Sieve?

Scott Russell lnxgeek at us.ibm.com
Mon Dec 23 16:54:56 EST 2002


On Mon, Dec 23, 2002 at 04:31:35PM -0500, Lee wrote:
> We use an ldap directory with SSHA hashing on passwords stored in ldap 
> as the backend for our cyrus 2.1.X implementation. We are currently 
> trying to add a set of sieve scripts to EVERY user's account. Since we 
> cant actually access a user's password (since they're hashed in ldap) I 
> was hoping to login to sieve as an administrator and add the scripts to 
> each user's account. This doesnt seem possible though. Does anyone have 
> a suggestion how I might go about adding sieve scripts to users 
> accounts using some sort of administrative account or by making a 
> global (server-wide) set of sieve scripts?


Actually this is possible with a auth mech that supports admin proxy.
Using DIGEST-MD5 or PLAIN mechs you can login to the account joeuser by
passing the cyrus admin userid and password.

You can try this out via the sivtest command:

  sivtest -u joeuser -a cryadm -w cyradm_passwd localhost
  
-- 
  Scott Russell (lnxgeek at us.ibm.com)
  Linux Technology Center, System Admin, RHCE.
  Dial 877-735-8200 then ask for 919-543-9289 (TTY)




More information about the Info-cyrus mailing list