Now this is interesting : du, doveadm quota get and maildirsize have three
different values for this particular user :
Max Quota is : 1G
du : 883M (86%)
maildirsize : 1048M (102%)
doveadm : 34402? (32%)
Trace
-----
root at messagerie[10.10.10.19] ~ # cd /var/vmail/domain.tld/m.stefan/
root at messagerie[10.10.10.19] ~ # alias dush
alias dush='du -h --max-depth=1 | sort -h'
root at messagerie[10.10.10.19] /var/vmail/domain.tld/m.stefan # dush
4.0K ./courierimapkeywords
4.0K ./new
4.0K ./tmp
8.0K ./courierimaphieracl
28K ./.INBOX.Altert
28K ./.INBOX.notifs
36K ./.BOITE_RECEPTION
36K ./.PIGE
80K ./dovecot
428K ./.Drafts
728K ./.Alert Process
1020K ./.Trash
1.3M ./.Junk
3.4M ./cur
3.6M ./.Alert BLANC
7.5M ./.Alert PUB
9.7M ./.IT SUPPORT
9.9M ./.GLPI
12M ./.REGIE
15M ./.LTO
27M ./.VDN
29M ./.Sent
43M ./.HD SUPPORT
105M ./.MAM
105M ./.PRTG
514M ./.INBOX
883M .
root at messagerie[10.10.10.19] /var/vmail/domain.tld/m.stefan # cat maildirsize
1073741824S
1098898439 9380
-382366814 -439
382 1
27713 1
-383309268 -489
27433 1
4274 1
27740 1
31452 1
-665709 -153
5722 1
5797 1
27713 1
158840 1
27203 1
27744 1
26032 1
27717 1
1807 1
26989 1
27152 1
26239 1
3066 1
30846 1
4272 1
26020 1
27713 1
30040 1
26753 1
27152 1
27125 1
27744 1
26559 1
26166 1
29845 1
27121 1
27740 1
88624 1
32080 1
26672 1
27121 1
27152 1
26343 1
31456 1
27717 1
27152 1
26343 1
26032 1
29847 1
28309 1
29709 1
26241 1
26343 1
27152 1
31360 1
26016 1
27717 1
30857 1
27148 1
26343 1
28309 1
27152 1
26343 1
26168 1
28305 1
27822 1
27152 1
47273 1
26343 1
32056 1
26460 1
30523 1
28141 1
28152 1
28309 1
27148 1
26343 1
3999 1
1688 1
27990 1
28305 1
27152 1
26343 1
26032 1
27928 1
27479 1
90009 1
27366 1
27264 1
69705 1
27261 1
48383 1
28309 1
26241 1
27152 1
32079 1
30474 1
26016 1
30146 1
27713 1
29818 1
27152 1
30769 1
29194 1
27717 1
27740 1
1508 1
1536 1
1999 1
26146 1
1550 1
1587 1
27125 1
47289 1
27496 1
27744 1
32080 1
26464 1
32048 1
27713 1
27744 1
29845 1
27121 1
27744 1
26032 1
30146 1
27121 1
45454 1
26241 1
28332 1
32103 1
3859 1
26016 1
27121 1
28336 1
4272 1
29709 1
29688 1
27125 1
28336 1
1757 1
4631 1
54951 1
26170 1
1757 1
1975 1
29765 1
28882 1
1757 1
25683 1
71184 1
28332 1
32080 1
55040 1
26464 1
1757 1
4631 1
30706 1
4322 1
49607 1
1757 1
1757 1
46535 1
47378 1
27717 1
27744 1
21723 1
1759 1
1757 1
20218 1
21737 1
21724 1
539443 1
1892 1
27713 1
27744 1
26036 1
27713 1
27740 1
32079 1
12815596 1
26523 1
54511 1
26020 1
27125 1
29847 1
28336 1
30423 1
27009 1
27065 1
26510 1
27121 1
324880 1
27740 1
21128 1
213811 1
20186 1
20239 1
26146 1
21360 1
29481 1
25668 1
27826 1
28128 1
27125 1
31333 1
1820 1
28332 1
26488 1
27778 1
31127 1
4290 1
4290 1
4309 1
27121 1
27744 1
4290 1
8871 1
8871 1
4290 1
1773 1
30578 1
47705 1
10764 1
10764 1
30433 1
31066 1
4290 1
30461 1
31094 1
26680 1
29135 1
29141 1
26032 1
30146 1
30109 1
31054 1
29226 1
31483 1
26016 1
29949 1
30890 1
30095 1
29226 1
5880 1
29173 1
30422 1
root at messagerie[10.10.10.19] /var/vmail/domain.tld/m.stefan # doveadm quota
get -u m.stefan at domain.tld
Quota name Type Value Limit %
User quota STORAGE 344402 1048576 32
User quota MESSAGE 8542 - 0
root at messagerie[10.10.10.19] /var/vmail/domain.tld/m.stefan #
On Sunday, February 12, 2017 2:18 PM, chaouche yacine <yacinechaouche at
yahoo.com> wrote:
I am using dovecot lmtp
root at messagerie[10.10.10.19] ~ # grep virtual_transport /etc/postfix/main.cf
# transport_maps = hash:/var/lib/mailman/data/transport-mailman,
proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
# virtual_transport = maildrop
virtual_transport = lmtp:unix:private/dovecot-lmtp
root at messagerie[10.10.10.19] ~ #
On Thursday, February 9, 2017 7:54 PM, WJCarpenter <bill-dovecot at
carpenter.org> wrote:
Who delievers incoming mail, dovecot LDA or something else?
This is what caused a similar problem for me:
https://dovecot.org/list/dovecot/2016-April/104091.html