Delete an user + virtual domains

Alain Spineux aspineux at gmail.com
Mon Jan 12 08:14:08 EST 2009


2009/1/9 Laurent Archambault <archi.laurent at gmail.com>:
> Hello,
>
> With this values in imap.conf : "virtdomains: yes" + "unixhierarchysep: yes"
> (do after for it).
> - In this directory : "/var/spool/cyrus/mail/domain/d/domaine2.com"
> - I have for this an user this structural directory ... (for me it's strange
> but i don't known all)
>
> ./Sent/l/user/laurent^amt
> ./Sent/l/user/laurent^amt/cyrus.cache
> ./Sent/l/user/laurent^amt/cyrus.index
> ./Sent/l/user/laurent^amt/cyrus.squat
> ./Sent/l/user/laurent^amt/cyrus.header
> ./l/user/laurent^amt
> ./l/user/laurent^amt/cyrus.cache
> ./l/user/laurent^amt/cyrus.index
> ./l/user/laurent^amt/cyrus.squat
> ./l/user/laurent^amt/cyrus.header
> ./Drafts/l/user/laurent^amt
> ./Drafts/l/user/laurent^amt/cyrus.cache
> ./Drafts/l/user/laurent^amt/cyrus.index
> ./Drafts/l/user/laurent^amt/cyrus.squat
> ./Drafts/l/user/laurent^amt/cyrus.header
> ./Trash/l/user/laurent^amt
> ./Trash/l/user/laurent^amt/cyrus.cache
> ./Trash/l/user/laurent^amt/cyrus.index
> ./Trash/l/user/laurent^amt/cyrus.squat
> ./Trash/l/user/laurent^amt/cyrus.header
> ./Junk/l/user/laurent^amt
> ./Junk/l/user/laurent^amt/cyrus.cache
> ./Junk/l/user/laurent^amt/cyrus.index
> ./Junk/l/user/laurent^amt/cyrus.squat
> ./Junk/l/user/laurent^amt/cyrus.header
>
> With this structure, Cyrus run perfectly... but when i want to delete an
> mailbox (or account), its not clean for me ...
> ./cyrus-admin.pl -u cyrus -p secret -m laurent.amt at domaine2.com --delete
> Mailbox:define acl lrswipkxtecda for user/laurent.amt at domaine2.com by cyrus
> Deleted Mailbox: user/laurent.amt at domaine2.com
>
> And now i read my structural Cyrus and i can see this :
> just lhis line "./l/user/laurent^amt" is not present or deleted ... i can
> see almost all ...
> - And it's similar with "cyradm ...."

cyradm only delete one mailbox, not the existing subfolders,
you have to delete them yourself

>
> ./Sent/l/user/laurent^amt
> ./Sent/l/user/laurent^amt/cyrus.cache
> ./Sent/l/user/laurent^amt/cyrus.index
> ./Sent/l/user/laurent^amt/cyrus.squat
> ./Sent/l/user/laurent^amt/cyrus.header
> ./Drafts/l/user/laurent^amt
> ./Drafts/l/user/laurent^amt/cyrus.cache
> ./Drafts/l/user/laurent^amt/cyrus.index
> ./Drafts/l/user/laurent^amt/cyrus.squat
> ./Drafts/l/user/laurent^amt/cyrus.header
> ./Trash/l/user/laurent^amt
> ./Trash/l/user/laurent^amt/cyrus.cache
> ./Trash/l/user/laurent^amt/cyrus.index
> ./Trash/l/user/laurent^amt/cyrus.squat
> ./Trash/l/user/laurent^amt/cyrus.header
> ./Junk/l/user/laurent^amt
> ./Junk/l/user/laurent^amt/cyrus.cache
> ./Junk/l/user/laurent^amt/cyrus.index
> ./Junk/l/user/laurent^amt/cyrus.squat
> ./Junk/l/user/laurent^amt/cyrus.header
>
> Thanks a lot ... where is my error ..
> --
> ----~o00o-----//{ ´°`(_)´°` }\\-----o00o~------
>
>               Laurent Archambault
>                    Under Linux
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you


More information about the Info-cyrus mailing list