Re: Recovering deleted mailbox

2022-05-13 Thread Sean McBride
Well, I finally had time to try this (with a test account) and it did not work for me. I restored the .mailboxname folder (and all its contents, and with permissions preserved) and even ran: sudo doveadm force-resync -u testuser mailboxname but I don't see the folder restored from my IMAP

Re: Recovering deleted mailbox

2022-04-28 Thread Benny Pedersen
On 2022-04-28 09:00, Narcis Garcia wrote: export MailAccount="u...@example.org" && doveadm -v fts rescan -u $MailAccount And "doveadm -v fts rescan -u $MailAccount" how it's specified mailbox(es)? '*' or the only syntax if for all? for sql backends # syntax for posgresql with

Re: Recovering deleted mailbox

2022-04-28 Thread Aki Tuomi
> On 28/04/2022 10:00 Narcis Garcia wrote: > > > __ > I'm using this dedicated address because personal addresses aren't > masked enough at this mail public archive. Public archive administrator > should fix this against automated addresses collectors. > El 28/4/22 a les 8:57, Aki

Re: Recovering deleted mailbox

2022-04-28 Thread Narcis Garcia
__ I'm using this dedicated address because personal addresses aren't masked enough at this mail public archive. Public archive administrator should fix this against automated addresses collectors. El 28/4/22 a les 8:57, Aki Tuomi ha escrit: On 28/04/2022 09:56 Narcis Garcia

Re: Recovering deleted mailbox

2022-04-28 Thread Aki Tuomi
> On 28/04/2022 09:56 Narcis Garcia wrote: > > > __ > I'm using this dedicated address because personal addresses aren't > masked enough at this mail public archive. Public archive administrator > should fix this against automated addresses collectors. > El 28/4/22 a les 7:48, Aki

Re: Recovering deleted mailbox

2022-04-28 Thread Narcis Garcia
__ I'm using this dedicated address because personal addresses aren't masked enough at this mail public archive. Public archive administrator should fix this against automated addresses collectors. El 28/4/22 a les 7:48, Aki Tuomi ha escrit: On 28/04/2022 08:33 Shawn Heisey wrote:

Re: Recovering deleted mailbox

2022-04-28 Thread Aki Tuomi
> On 28/04/2022 08:57 Shawn Heisey wrote: > > > On 4/27/2022 11:48 PM, Aki Tuomi wrote: > > # drop fts data > > doveadm fts rescan -u user > > # rebuild index > > doveadm index -u user "*" > > I do full reindexes a lot more often than a typical user would. When I > do a reindex, I want it

Re: Recovering deleted mailbox

2022-04-27 Thread Shawn Heisey
On 4/27/2022 11:48 PM, Aki Tuomi wrote: # drop fts data doveadm fts rescan -u user # rebuild index doveadm index -u user "*" I do full reindexes a lot more often than a typical user would. When I do a reindex, I want it to happen for all users, not one at a time.  Do you have a sequence of

Re: Recovering deleted mailbox

2022-04-27 Thread Aki Tuomi
> On 28/04/2022 08:33 Shawn Heisey wrote: > > > On 4/27/2022 11:27 PM, Aki Tuomi wrote: > > There is no reason to delete the dovecot files after recovery. You can run > > `doveadm force-resync` to ensure everything is synced. Removing the files > > just cause more problems than benefit

Re: Recovering deleted mailbox

2022-04-27 Thread Shawn Heisey
On 4/27/2022 11:27 PM, Aki Tuomi wrote: There is no reason to delete the dovecot files after recovery. You can run `doveadm force-resync` to ensure everything is synced. Removing the files just cause more problems than benefit usually. Thanks for that information!  Very helpful for future

Re: Recovering deleted mailbox

2022-04-27 Thread Aki Tuomi
> On 28/04/2022 01:57 Shawn Heisey wrote: > > > On 4/27/22 16:18, Sean McBride wrote: > > I have a user (coworker) that accidentally deleted a mailbox and all its > > sub-mailboxes. > > > > I use Maildir format storage. I have backups. > > > > Is it enough to put the mailbox folder back

Re: Recovering deleted mailbox

2022-04-27 Thread Shawn Heisey
On 4/27/22 16:18, Sean McBride wrote: I have a user (coworker) that accidentally deleted a mailbox and all its sub-mailboxes. I use Maildir format storage. I have backups. Is it enough to put the mailbox folder back where it was? I'm talking about the folder that contains 'cur', 'new',

Re: Recovering deleted mailbox

2022-04-27 Thread Ted Hatfield
I've done so with no issues as long as permissions and ownership are accurate. Ted Hatfield On Wed, 27 Apr 2022, Sean McBride wrote: Hi all, I have a user (coworker) that accidentally deleted a mailbox and all its sub-mailboxes. I use Maildir format storage. I have backups. Is it

Recovering deleted mailbox

2022-04-27 Thread Sean McBride
Hi all, I have a user (coworker) that accidentally deleted a mailbox and all its sub-mailboxes. I use Maildir format storage. I have backups. Is it enough to put the mailbox folder back where it was? I'm talking about the folder that contains 'cur', 'new', 'tmp', 'dovecot-uidlist', etc.