Maildirsize not updated

chaouche yacine yacinechaouche at yahoo.com
Wed Mar 8 14:34:11 UTC 2017


Just a follow-up with another interesting situation : here's a maildirsize file that records 0 bytes out of 0 messages, yet it has many lines (which are supposed to be mail file sizes, 1 for received mail and -1 for deleted mail) : 






root at messagerie[10.10.10.19] /var/vmail/backup.algerian-radio.dz/sec-drh # head maildirsize 
5368709120S
           0            0
5664 1
3713 1
6431 1
4012 1
5801 1
5277612 1
2667474 1
5520 1
root at messagerie[10.10.10.19] /var/vmail/backup.algerian-radio.dz/sec-drh # 







And here's the output of du showing that the maildir is far from empty : 


root at messagerie[10.10.10.19] /var/vmail/backup.algerian-radio.dz/sec-drh # du -h --max-depth=1 | sort -h
4.0K    ./dovecot
4.0K    ./tmp
8.0K    ./courierimaphieracl
24K     ./.Archive
2.9M    ./new
471M    ./cur
517M    ./.Sent
991M    .
root at messagerie[10.10.10.19] /var/vmail/backup.algerian-radio.dz/sec-drh # 



-- Yassine.


More information about the dovecot mailing list