Deleting multiple users

Rudy Gevaert Rudy.Gevaert at UGent.be
Thu Dec 28 15:57:33 EST 2006


Mordur wrote:
> Hi all,
> 
> I would like to delete about 550 users from Cyrus imap. Does anyone have
> a script or advice for me how to do that without me having to manually
> grant cyrus user the delete right for each user and then deleting?  Any
> advice greatly appreciated.
> 

You could try:

cyradm host
sam user.* cyrus x
(if x it the flag, I'm not sure at the moment)
dm user.*

if that doesn't work put a % in stead of a *


-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert at UGent.be          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen                     Systems group
Universiteit Gent                  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


More information about the Info-cyrus mailing list