I am clearing the mail using roundcube and also deleting mail from trash
   and thus permenently deleting the mail. The mail quota changes. But mail
   is still present in INBOX.EXPUNGED.Trash and also with refcount 1. The
   physical disk usage remains the same and purge not deleting the mail
   physically, prob due to refcount.

   1. Initial stage. 2 mails in inbox and around 14MB of usage.

   ---
   doveadm -f table quota get -u [1]u.de...@mydomain.net
   Quota name  Type    Value  Limit
                %
   mdbox quota STORAGE 14017 512000
                2
   mdbox quota MESSAGE     2  10000
                0

   doveadm -f table mailbox status -u [2]u.de...@mydomain.net all INBOX
   mailbox messages recent uidnext uidvalidity unseen highestmodseq vsize
    guid                             firstsaved
   INBOX   2        0      3       1758288242  0      5             14352516
   c61ef0307259cd684d18000079f6831d 1758288243

   doveadm -f table mailbox status -u [3]u.de...@mydomain.net all INBOX.*
   mailbox      messages recent uidnext uidvalidity unseen highestmodseq
   vsize guid                             firstsaved
   INBOX.Drafts 0        0      1       1758288245  0      1             0
     c91ef0307259cd684d18000079f6831d never
   INBOX.Spam   0        0      1       1758288244  0      1             0
     c81ef0307259cd684d18000079f6831d never
   INBOX.Trash  0        0      1       1758288243  0      1             0
     c71ef0307259cd684d18000079f6831d never

   doveadm -f table mailbox status -u [4]u.de...@mydomain.net all INBOX.*.*
   mailbox messages recent uidnext uidvalidity unseen highestmodseq vsize
   guid firstsaved

   doveadm -f table  fetch -u [5]u.de...@mydomain.net "mailbox refcount user"
   mailbox INBOX all
   mailbox refcount user
   INBOX   1        [6]u.de...@mydomain.net
   INBOX   1        [7]u.de...@mydomain.net

   doveadm -f table  fetch -u [8]u.de...@mydomain.net "mailbox refcount user"
   mailbox INBOX.* all
   mailbox refcount user

   doveadm -f table  fetch -u [9]u.de...@mydomain.net "mailbox refcount user"
   mailbox INBOX.*.* all
   mailbox refcount user
   ---

   2. Deleted mail from Inbox and also from Trash. Mail quota got reduced.
   But mail exist in INBOX.EXPUNGED.Trash with refcount 1 and using disk
   storage.

   ---
   doveadm -f table quota get -u [10]u.de...@mydomain.net
   Quota name  Type    Value  Limit
                %
   mdbox quota STORAGE     0 512000
                0
   mdbox quota MESSAGE     0  10000
                0

   doveadm -f table mailbox status -u [11]u.de...@mydomain.net all INBOX
   mailbox messages recent uidnext uidvalidity unseen highestmodseq vsize
   guid                             firstsaved
   INBOX   0        0      3       1758288242  0      7             0
   c61ef0307259cd684d18000079f6831d never

   doveadm -f table mailbox status -u [12]u.de...@mydomain.net all INBOX.*
   mailbox      messages recent uidnext uidvalidity unseen highestmodseq
   vsize guid                             firstsaved
   INBOX.Drafts 0        0      1       1758288245  0      1             0
     c91ef0307259cd684d18000079f6831d never
   INBOX.Spam   0        0      1       1758288244  0      1             0
     c81ef0307259cd684d18000079f6831d never
   INBOX.Trash  0        0      3       1758288243  0      7             0
     c71ef0307259cd684d18000079f6831d never

   doveadm -f table mailbox status -u [13]u.de...@mydomain.net all INBOX.*.*
   mailbox              messages recent uidnext uidvalidity unseen
   highestmodseq vsize    guid                             firstsaved
   INBOX.EXPUNGED.Trash 2        2      3       1758288246  0      3
       14352516 c80d5b1f075ecd68eb4c000079f6831d 1758289415

   doveadm -f table  fetch -u [14]u.de...@mydomain.net "mailbox refcount
   user" mailbox INBOX all
   mailbox refcount user

   doveadm -f table  fetch -u [15]u.de...@mydomain.net "mailbox refcount
   user" mailbox INBOX.* all
   mailbox refcount user

   doveadm -f table  fetch -u [16]u.de...@mydomain.net "mailbox refcount
   user" mailbox INBOX.*.* all
   mailbox              refcount user
   INBOX.EXPUNGED.Trash 1        [17]u.de...@mydomain.net
   INBOX.EXPUNGED.Trash 1        [18]u.de...@mydomain.net
   ---

   The following options are checked in roundcube.

   Maintenance
   Clear Trash on logout
   Compact Inbox on logout

   Is there anything missing in roundcube settings? Why refcount still shows
   as 1?

References

   Visible links
   1. mailto:u.de...@mydomain.net
   2. mailto:u.de...@mydomain.net
   3. mailto:u.de...@mydomain.net
   4. mailto:u.de...@mydomain.net
   5. mailto:u.de...@mydomain.net
   6. mailto:u.de...@mydomain.net
   7. mailto:u.de...@mydomain.net
   8. mailto:u.de...@mydomain.net
   9. mailto:u.de...@mydomain.net
  10. mailto:u.de...@mydomain.net
  11. mailto:u.de...@mydomain.net
  12. mailto:u.de...@mydomain.net
  13. mailto:u.de...@mydomain.net
  14. mailto:u.de...@mydomain.net
  15. mailto:u.de...@mydomain.net
  16. mailto:u.de...@mydomain.net
  17. mailto:u.de...@mydomain.net
  18. mailto:u.de...@mydomain.net
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to