10 Feb
2015
10 Feb
'15
8:46 p.m.
10.02.2015 18:36, TN пишет:
What is the best way to delete an user mailbox (ex: /var/mail/johndoe ) when all attachments (for all users) are in a common directory with SIS deduplication (ex: mail_attachment_dir = /var/mail/attachments ) ?
Trying to delete user mailbox directory (rm) and do the command : doveadm -v purge -u johndoe leave all johndoe's attachments orphelin.
You should always expunge mailbox *before* deleting it, if you are using SIS.
# doveadm expunge -d -u johndoe mailbox '*' all # rm -rf /var/mail/johndoe
https://www.mail-archive.com/dovecot@dovecot.org/msg41683.html
-- Alexander