Hello, I am using dovecot with mdbox+sis and I notice an ever increasing disk space usage since I converted mailboxes from Maildir to mdboxes. I have checked with a user and while it actually uses only 65K, his mdbox files on disk are more than 6G. The backup of his mailbox is just 64K. Any suggestions ? Below are some relevant commands: [root at mail ~]# doveadm quota get -u test Quota name Type Value Limit % User quota STORAGE 10135 31457280 0 User quota MESSAGE 186 - 0 [root at mail ~]# du -k --max-depth=1 /mdboxes/test/ 220 /mdboxes/test/mailboxes 6029348 /mdboxes/test/storage 6029592 /mdboxes/test/ [root at mail ~]# doveadm purge -u test [root at mail ~]# du -k --max-depth=1 /mdboxes/test/ 220 /mdboxes/test/mailboxes 6029348 /mdboxes/test/storage 6029592 /mdboxes/test/ [root at mail ~]# doveadm backup -u test mdbox:/tmp/MDBOX_TEMP/ [root at mail ~]# du -k --max-depth=1 /tmp/MDBOX_TEMP/ 16 /tmp/MDBOX_TEMP/mailboxes 65540 /tmp/MDBOX_TEMP/storage 65568 /tmp/MDBOX_TEMP/
Did you "purged" the deleted mails for this user? On mdbox you must run "doveadm purge -u $USER" to whipe out any as deleted marked mails etc. Details: http://wiki2.dovecot.org/Tools/Doveadm/Purge I use a nightly cronjob wor this. Regards Urban Am 01.04.2015 um 23:26 schrieb Alexandros Soumplis:> Hello, > > I am using dovecot with mdbox+sis and I notice an ever increasing disk space usage since I converted mailboxes from Maildir to mdboxes. I have checked > with a user and while it actually uses only 65K, his mdbox files on disk are more than 6G. The backup of his mailbox is just 64K. Any suggestions ? > > Below are some relevant commands: > > [root at mail ~]# doveadm quota get -u test > Quota name Type Value Limit % > User quota STORAGE 10135 31457280 0 > User quota MESSAGE 186 - 0 > > [root at mail ~]# du -k --max-depth=1 /mdboxes/test/ > 220 /mdboxes/test/mailboxes > 6029348 /mdboxes/test/storage > 6029592 /mdboxes/test/ > > [root at mail ~]# doveadm purge -u test > [root at mail ~]# du -k --max-depth=1 /mdboxes/test/ > 220 /mdboxes/test/mailboxes > 6029348 /mdboxes/test/storage > 6029592 /mdboxes/test/ > > [root at mail ~]# doveadm backup -u test mdbox:/tmp/MDBOX_TEMP/ > [root at mail ~]# du -k --max-depth=1 /tmp/MDBOX_TEMP/ > 16 /tmp/MDBOX_TEMP/mailboxes > 65540 /tmp/MDBOX_TEMP/storage > 65568 /tmp/MDBOX_TEMP/ >
Yes I have done it, it is the third command I have run, without any change. a. On 02/04/2015 09:53 ??, Urban Loesch wrote:> Did you "purged" the deleted mails for this user? > On mdbox you must run "doveadm purge -u $USER" to whipe out any as deleted marked mails etc. > > Details: http://wiki2.dovecot.org/Tools/Doveadm/Purge > > I use a nightly cronjob wor this. > > Regards > Urban > > Am 01.04.2015 um 23:26 schrieb Alexandros Soumplis: >> Hello, >> >> I am using dovecot with mdbox+sis and I notice an ever increasing disk space usage since I converted mailboxes from Maildir to mdboxes. I have checked >> with a user and while it actually uses only 65K, his mdbox files on disk are more than 6G. The backup of his mailbox is just 64K. Any suggestions ? >> >> Below are some relevant commands: >> >> [root at mail ~]# doveadm quota get -u test >> Quota name Type Value Limit % >> User quota STORAGE 10135 31457280 0 >> User quota MESSAGE 186 - 0 >> >> [root at mail ~]# du -k --max-depth=1 /mdboxes/test/ >> 220 /mdboxes/test/mailboxes >> 6029348 /mdboxes/test/storage >> 6029592 /mdboxes/test/ >> >> [root at mail ~]# doveadm purge -u test >> [root at mail ~]# du -k --max-depth=1 /mdboxes/test/ >> 220 /mdboxes/test/mailboxes >> 6029348 /mdboxes/test/storage >> 6029592 /mdboxes/test/ >> >> [root at mail ~]# doveadm backup -u test mdbox:/tmp/MDBOX_TEMP/ >> [root at mail ~]# du -k --max-depth=1 /tmp/MDBOX_TEMP/ >> 16 /tmp/MDBOX_TEMP/mailboxes >> 65540 /tmp/MDBOX_TEMP/storage >> 65568 /tmp/MDBOX_TEMP/ >>-- Alexandros Soumplis Systems Engineer (M.Sc, RHCE, VCP, SCSA) National Documentation Center / N.H.R.F. Information Systems Department 48, Vas. Constantinou Av. 116 35 Athens, Greece phone: +30 210 7273984 fax: +30 210 7252223 email: soumplis at ekt.gr http://www.ekt.gr