Mailbox administration in cyrus
Dr. Peer-Joachim Koch
pkoch at bgc-jena.mpg.de
Thu Jun 22 03:53:24 EDT 2017
Hi,
I have admin (cyrus) rights on the mailbox.
The solution in this case is a
dm user.USERNAME.*
this seems to remove everything from user USERNAME without the risk
deleting some similar named user (...USERNAME* can cause some trouble).
Thanks, Peer
On 21.06.2017 17:03, Patrick Boutilier wrote:
> On 06/21/2017 10:42 AM, Dr. Peer-Joachim Koch wrote:
>> Hi Michael,
>>
>> On 21.06.2017 15:28, Michael Menge wrote:
>>> Hi,
>>>
>>>
>>>
>>> Quoting "Dr. Peer-Joachim Koch" <pkoch at bgc-jena.mpg.de>:
>>>
>>>> Hi,
>>>>
>>>> is there an esay way to remove ALL mailboxes of an user ?
>>>>
>>>> I did not find any info about something like
>>>>
>>>> dm -r user.OLDUSER
>>>>
>>>
>>> in cyradm
>>>
>>> dm user.OLDUSER
>>>
>>> should delete the user (all mailboxes and sievscripts), at least
>>> since cyrus 2.3
>>>
>>> which version of cyrus are you using?
>>>
>> we are using cyrus 2.4.18 (SLES 12 SP2)
>>>> removing every folder within OLDUSER and OLDUSER as well.
>>>>
>>>
>> No, not at our system. I did
>>
>> dm user.TESTUSER # all users have SPAM,Sent,Drafts as default
>> mailboxes
>>
>> After this command, the mailbox TESTUSER was removed, but
>> user.TESTUSER.{SPAM,Sent,Drafts}
>> exist (in cyrus and on the filesystem).
>>
>> No idea, what happens if I use a wildcard ...
>
>
> Does the user you logged in to cyradm with have rights to delete the
> mailboxes that are not getting deleted?
>
>
> Might have to do this first:
>
> sam user.TESTUSER <user logging in to cyradm> lrswipdca
>
>
>
>
>
>
>
>
>
>
>
>>
>>
>> Thanks and bye, Peer
>>
>>> also you can use wildcards in cyradm
>>>
>>>
>>> Grüße aus Tübingen
>>>
>>> Michael
>>>
>>> --------------------------------------------------------------------------------
>>>
>>> M.Menge Tel.: (49) 7071/29-70316
>>> Universität Tübingen Fax.: (49) 7071/29-5912
>>> Zentrum für Datenverarbeitung mail:
>>> michael.menge at zdv.uni-tuebingen.de
>>> Wächterstraße 76
>>> 72074 Tübingen
>>>
>>> ----
>>> Cyrus Home Page: http://www.cyrusimap.org/
>>> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
>>> To Unsubscribe:
>>> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>>
>>
>>
>>
>> ----
>> Cyrus Home Page: http://www.cyrusimap.org/
>> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
>> To Unsubscribe:
>> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>>
>
>
>
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
--
Mit freundlichem Grüßen,
Peer-Joachim Koch
________________________________________________________
Max-Planck-Institut für Biogeochemie
Dr. Peer-Joachim Koch
Hans-Knöll Str.10 Telefon: ++49 3641 57-6705
D-07745 Jena Telefax: ++49 3641 57-7705
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20170622/2d5bd248/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5224 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20170622/2d5bd248/attachment-0001.p7s>
More information about the Info-cyrus
mailing list