Hi, I'm receiving a mail quota warning message: Subject: Mailbox quota notification Date: Fri, 14 Jul 2017 00:02:25 +0200 (CEST) The mailbox [email protected] is near or over quota. Mailbox: [email protected] Name: CiviCRM Rebots Used space: 49,8252 MB Quota: 52 MB Usage ratio: 95.82% But I have not messages at my mailbox nor folders, and doing a "du" shows my mailboxes are bellow 1Mb all together: [email protected]:~$ sudo du -amh /var/vmail | sort -n -r | head -n 20 952K /var/vmail/mydomain.cat/rebots 932K /var/vmail/mydomain.cat/rebots/Maildir 644K /var/vmail/mydomain.cat/second/Maildir/.Trash/cur/1467795246.M671698P32765.myserver.net,S=651931,W=660484:2,S 612K /var/vmail/mydomain.cat/rebots/Maildir/.INBOX.CiviMail.processed 576K /var/vmail/mydomain.cat/second/Maildir/.Trash/cur/1467795212.M41401P32729.myserver.net.net,S=584886,W=592528:2,S 528K /var/vmail/mydomain.cat/second/Maildir/.Trash/cur/1467795050.M820592P32619.myserver.net.net,S=536330,W=543360:2,S 412K /var/vmail/mydomain.cat/second/Maildir/.Trash/cur/1467793825.M896175P31787.myserver.net.net,S=415258,W=420711:2,S 388K /var/vmail/mydomain.cat/rebots/Maildir/.INBOX.CiviMail.processed/cur ... I wonder, while writting this issue, if messages created by CiviCRM (civimail), what I've clean from files some days ago, are "stored" as info in dovecot system, who uses this, and not files themselves, to calc mailboxsizes.
Mail folder size should be stored in the 'maildirsize' file, which can be out of sync if you do some manual file removal - I believe just delete maildirsize and it'll get recreated.
There is a dovecor tool to do it: doveadm quota recalc -u username https://www.howtoforge.com/communit...updated-after-email-erased.57107/#post-362806