deleting mailbox and sieve scripts

Ken Murchison ken at oceana.com
Tue Sep 10 14:11:16 EDT 2002



Michael Schout wrote:
> 
> I appologize if this has been brought up before.  I searched the archives and
> didnt find anything relevent.
> 
> I'm evaluating the use of sieve scripts for users with cyrus-imapd 2.0.16, and
> have discovered that if I remove a users INBOX via "dm user.username", the
> sieve script for that user does not get removed.  I'm concerned that the
> username willget recycled in the future, and the new person with this username
> will end up with the previous user's sieve script.
> 
> I dont see a way that I can administratively remove the user's sieve script(s)
> short of logging into the machine and rm -rf'ing /var/imap/sieve/u/username.
> How do others cope with this situation?  Am I missing the obvious answer here?

The obvious answer is to upgrade to 2.1.  Otherwise, you could apply
this patch:

http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/user.c.diff?r1=1.8&r2=1.9&only_with_tag=MAIN

Note:  don't apply the wipeuser stuff otherwise you'll have to tweak
imapd.c (and maybe some other files)

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp




More information about the Info-cyrus mailing list