[prev in list] [next in list] [prev in thread] [next in thread]
List: cyrus-info
Subject: Re: Mailbox administration in cyrus
From: "Dr. Peer-Joachim Koch" <pkoch () bgc-jena ! mpg ! de>
Date: 2017-06-22 7:53:24
Message-ID: c500607b-3e9b-dc00-9aca-ddfbf053ee4b () bgc-jena ! mpg ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
[Attachment #4 (multipart/alternative)]
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@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@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
[Attachment #7 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
I have admin (cyrus) rights on the mailbox.<br>
<br>
The solution in this case is a<br>
<br>
dm user.USERNAME.*<br>
<br>
this seems to remove everything from user USERNAME without the
risk<br>
deleting some similar named user (...USERNAME* can cause some
trouble).<br>
<br>
Thanks, Peer<br>
<br>
On 21.06.2017 17:03, Patrick Boutilier wrote:<br>
</div>
<blockquote type="cite"
cite="mid:c1734b20-4615-7fcb-d0a0-aa351375280b@ednet.ns.ca">On
06/21/2017 10:42 AM, Dr. Peer-Joachim Koch wrote:
<br>
<blockquote type="cite">Hi Michael,
<br>
<br>
On 21.06.2017 15:28, Michael Menge wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
<br>
<br>
Quoting "Dr. Peer-Joachim Koch" <a class="moz-txt-link-rfc2396E" \
href="mailto:pkoch@bgc-jena.mpg.de"><pkoch@bgc-jena.mpg.de></a>: <br>
<br>
<blockquote type="cite">Hi,
<br>
<br>
is there an esay way to remove ALL mailboxes of an user ?
<br>
<br>
I did not find any info about something like
<br>
<br>
dm -r user.OLDUSER
<br>
<br>
</blockquote>
<br>
in cyradm
<br>
<br>
dm user.OLDUSER
<br>
<br>
should delete the user (all mailboxes and sievscripts), at
least since cyrus 2.3
<br>
<br>
which version of cyrus are you using?
<br>
<br>
</blockquote>
we are using cyrus 2.4.18 (SLES 12 SP2)
<br>
<blockquote type="cite">
<blockquote type="cite">removing every folder within OLDUSER
and OLDUSER as well.
<br>
<br>
</blockquote>
<br>
</blockquote>
No, not at our system. I did
<br>
<br>
dm user.TESTUSER # all users have SPAM,Sent,Drafts as
default mailboxes
<br>
<br>
After this command, the mailbox TESTUSER was removed, but
user.TESTUSER.{SPAM,Sent,Drafts}
<br>
exist (in cyrus and on the filesystem).
<br>
<br>
No idea, what happens if I use a wildcard ...
<br>
</blockquote>
<br>
<br>
Does the user you logged in to cyradm with have rights to delete
the mailboxes that are not getting deleted?
<br>
<br>
<br>
Might have to do this first:
<br>
<br>
sam user.TESTUSER <user logging in to cyradm> lrswipdca
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<blockquote type="cite">
<br>
<br>
Thanks and bye, Peer
<br>
<br>
<blockquote type="cite">also you can use wildcards in cyradm
<br>
<br>
<br>
Grüße aus Tübingen
<br>
<br>
Michael
<br>
<br>
--------------------------------------------------------------------------------
<br>
M.Menge Tel.: \
(49) 7071/29-70316
<br>
Universität Tübingen Fax.: (49) \
7071/29-5912 <br>
Zentrum für Datenverarbeitung mail:
<a class="moz-txt-link-abbreviated" \
href="mailto:michael.menge@zdv.uni-tuebingen.de">michael.menge@zdv.uni-tuebingen.de</a>
<br>
Wächterstraße 76
<br>
72074 Tübingen
<br>
<br>
----
<br>
Cyrus Home Page: <a class="moz-txt-link-freetext" \
href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a> <br>
List Archives/Info:
<a class="moz-txt-link-freetext" \
href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
<br>
To Unsubscribe:
<br>
<a class="moz-txt-link-freetext" \
href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a>
<br>
</blockquote>
<br>
<br>
<br>
<br>
----
<br>
Cyrus Home Page: <a class="moz-txt-link-freetext" \
href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a> <br>
List Archives/Info:
<a class="moz-txt-link-freetext" \
href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
<br>
To Unsubscribe:
<br>
<a class="moz-txt-link-freetext" \
href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a>
<br>
<br>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">----
Cyrus Home Page: <a class="moz-txt-link-freetext" \
href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a> List Archives/Info: <a \
class="moz-txt-link-freetext" \
href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a class="moz-txt-link-freetext" \
href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></pre>
</blockquote>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
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
</pre>
</body>
</html>
["smime.p7s" (application/pkcs7-signature)]
----
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic