Re: What you do with old account

2020-06-23 Thread Kenneth Marshall
On Tue, Jun 23, 2020 at 04:10:56PM +0200, Albert Shih wrote:
> 
> In fact I just notice, I've no idea...how to remove a mailbox in cyrus
> 
> With dovecot it's rm -rf ;-) Something I famillar with.

cyradm deletemailbox user/xxx

Regards,
Ken

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


Re: What you do with old account

2020-06-23 Thread Albert Shih
Le 14/06/2020 à 21:51:49+0200, Sebastian Hagedorn a écrit

Hi,


Thanks for your answer.

> Am 09.06.20 um 16:32 schrieb Adam Tauno Williams:
> > On Tue, 2020-06-09 at 15:51 +0200, Albert Shih wrote:>
> >> After switching to cyrus imap, I think about how to do that.
> >> If I'm correct I cannot just copy the file somewhere else, because cyrus
> >> database would keep the information about the existance of the mailbox, so
> >> what will the «state of the art» way to remove a mail account and all the
> >> mail.
> >> And how what would be the «state of the art» way to put it back ?
> > I create a calendar event [task] to delete the mailbox and otherwise
> > just leave it. If the account itself is disabled it cannot be accessed.
> >
> > Putting things back-into a mailstore is too much of a pain with current
> > storage prices.
>
> We have about 90,000 accounts, and our current model is that we leave
> expired accounts around for a year. The user can't login, and we don't
> accept new mails, but it's still there in case the account is
> re-activated. After one year the mailbox hierarchy is put into a .tgz
> and written to tape. When that is done the account is permanently
> deleted. If the user should come back, they get a completely new

In fact I just notice, I've no idea...how to remove a mailbox in cyrus

With dovecot it's rm -rf ;-) Something I famillar with.

> account. I can't recall a single instance where the .tgz was ever
> needed, but that's not my problem. After one more year the .tgz is

Absolutly.

> deleted from tape as well.

Ok.

Thanks

Regards.


--
Albert SHIH
Observatoire de Paris
xmpp: j...@obspm.fr
Heure local/Local time:
Tue 23 Jun 2020 04:09:05 PM CEST

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


Re: What you do with old account

2020-06-14 Thread Sebastian Hagedorn
Am 09.06.20 um 16:32 schrieb Adam Tauno Williams:
> On Tue, 2020-06-09 at 15:51 +0200, Albert Shih wrote:> 
>> After switching to cyrus imap, I think about how to do that.
>> If I'm correct I cannot just copy the file somewhere else, because cyrus
>> database would keep the information about the existance of the mailbox, so
>> what will the «state of the art» way to remove a mail account and all the
>> mail.
>> And how what would be the «state of the art» way to put it back ?
> I create a calendar event [task] to delete the mailbox and otherwise
> just leave it. If the account itself is disabled it cannot be accessed.
> 
> Putting things back-into a mailstore is too much of a pain with current
> storage prices.

We have about 90,000 accounts, and our current model is that we leave
expired accounts around for a year. The user can't login, and we don't
accept new mails, but it's still there in case the account is
re-activated. After one year the mailbox hierarchy is put into a .tgz
and written to tape. When that is done the account is permanently
deleted. If the user should come back, they get a completely new
account. I can't recall a single instance where the .tgz was ever
needed, but that's not my problem. After one more year the .tgz is
deleted from tape as well.
-- 
   .:.Sebastian Hagedorn - Weyertal 121 (Gebäude 133), Zimmer 2.02.:.
.:.Regionales Rechenzentrum (RRZK).:.
  .:.Universität zu Köln / Cologne University - ✆ +49-221-470-89578.:.
<>

smime.p7s
Description: S/MIME Cryptographic 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

Re: What you do with old account

2020-06-09 Thread Adam Tauno Williams
On Tue, 2020-06-09 at 15:51 +0200, Albert Shih wrote:> 
> After switching to cyrus imap, I think about how to do that.
> If I'm correct I cannot just copy the file somewhere else, because cyrus
> database would keep the information about the existance of the mailbox, so
> what will the «state of the art» way to remove a mail account and all the
> mail.
> And how what would be the «state of the art» way to put it back ?

I create a calendar event [task] to delete the mailbox and otherwise
just leave it. If the account itself is disabled it cannot be accessed.

Putting things back-into a mailstore is too much of a pain with current
storage prices.

-- 
Adam Tauno Williams, awill...@whitemice.org
Multi-Modal Activists Against Auto Dependent Development
resisting the unAmerican socialists of the Motorist hegemony
http://www.mmaaadd.org 

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


What you do with old account

2020-06-09 Thread Albert Shih
Hi

I like to know what you do in time with the olds accounts. Long time ago
(well 2 years) we using dovecot as imap server. And when some accounts are
closed we create a archive of the person mailbox (with tar), put that in
some backup server where the file going to stay about 2 years. After that
the data are destroy

The reason we keep that is some time (30% of the time) the person going to
come back and event it's not mandatory for us, the person are very happy to
go it old mailbox.

After switching to cyrus imap, I think about how to do that.

If I'm correct I cannot just copy the file somewhere else, because cyrus
database would keep the information about the existance of the mailbox, so
what will the «state of the art» way to remove a mail account and all the
mail.

And how what would be the «state of the art» way to put it back ?

Regards.

JAS

--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
Heure local/Local time:
Tue 09 Jun 2020 03:44:13 PM CEST

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