Re: removing folders which are not in mailboxes.db

2017-05-16 Thread Marcus Schopen
Am Montag, den 15.05.2017, 07:59 -0300 schrieb Patrick Boutilier:
> rm -fr if you are 100% sure you don't need the files. Move if not 100% 
> sure .:-)
> 
> Since cyrus doesn't know about the folders in mailboxes.db it shouldn't 
> care either way.

That's working.

Thanks
Marcus



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: removing folders which are not in mailboxes.db

2017-05-15 Thread Patrick Boutilier

On 05/15/2017 07:55 AM, Marcus Schopen wrote:

Hi,

Am Montag, den 15.05.2017, 07:34 -0300 schrieb Patrick Boutilier:

That will probably work. You can see what will happen by using -n also .
Another option is just to remove the subfolders from the filesystem
using rm .


I just tried:

su - cyrus -c " /usr/lib/cyrus/bin/reconstruct -r -O
user.li...@domain.tld"

But this didn't remove the odd folders nor the files in these folders.
Just remove them by "rm -rf" or move them to another location outside
the spool?


rm -fr if you are 100% sure you don't need the files. Move if not 100% 
sure .:-)


Since cyrus doesn't know about the folders in mailboxes.db it shouldn't 
care either way.








Ciao!
Marcus



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

Re: removing folders which are not in mailboxes.db

2017-05-15 Thread Marcus Schopen
Hi,

Am Montag, den 15.05.2017, 07:34 -0300 schrieb Patrick Boutilier:
> That will probably work. You can see what will happen by using -n also . 
> Another option is just to remove the subfolders from the filesystem 
> using rm .

I just tried:

su - cyrus -c " /usr/lib/cyrus/bin/reconstruct -r -O
user.li...@domain.tld"

But this didn't remove the odd folders nor the files in these folders.
Just remove them by "rm -rf" or move them to another location outside
the spool?

Ciao!
Marcus



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: removing folders which are not in mailboxes.db

2017-05-15 Thread Patrick Boutilier

On 05/15/2017 06:35 AM, Marcus Schopen wrote:

Hi,

some time ago I removed several big sized subfolders in a mailbox using
my mail client. Yesterday I recognized that for some reasons those
folders are still on the file system on master, but not on replica side.
Non of those deleted folders are listed in mailboxes.db, which is
correct.

What's the best way to remove those old folders permanently from the
filesystem on the master? Can I use reconstruct with -O option (Delete
odd files)?


That will probably work. You can see what will happen by using -n also . 
Another option is just to remove the subfolders from the filesystem 
using rm .







Ciao
Marcus



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

Re: removing folders which are not in mailboxes.db

2017-05-15 Thread Marcus Schopen
some more info:

I did some further checks:

those messages are not shown by unexpunge -l. I get a "Failed to open
mailbox" if I check the delete subdirs, which is correct to my mind,
because these mailbox don't exist any more. 

The delete subdirs didn't show up in DELETED.user. I use "delete_mode:
delayed" and "expunge_mode: delayed" and did a "expire -E 1 -X 0 -D 0 -v
-p DELETED.user.mailboxname" to remove all deleted mailbox, just to be
sure.

Ciao
Marcus





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


removing folders which are not in mailboxes.db

2017-05-15 Thread Marcus Schopen
Hi,

some time ago I removed several big sized subfolders in a mailbox using
my mail client. Yesterday I recognized that for some reasons those
folders are still on the file system on master, but not on replica side.
Non of those deleted folders are listed in mailboxes.db, which is
correct. 

What's the best way to remove those old folders permanently from the
filesystem on the master? Can I use reconstruct with -O option (Delete
odd files)?

Ciao
Marcus



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