I am sorry if this was very stupid, i overlooked the 2nd and 3rd lines as I
forgot about the copy/delete thing (which also always leaves a copy in trash
when moving a message and using trash folder)
One last question:
daemon1# rm tim/Maildir/maildirsize
daemon1# maildirmake -q 30000000S tamer/Maildir/
daemon1# cat tim/Maildir/maildirsize
30000000S
14049520 1528
daemon1# du -sh tim/Maildir/
17M tim/Maildir/
daemon1# du -sh tim/Maildir/.Trash/
72K tamer/Maildir/.Trash/
14 Megs as opposed to 17M ?
Is this normal?
I noticed one or two of the folders in my Maildir don't have the maildirfolder
file, but others do. Is that relevant?
Quoting Sam Varshavchik <mrs...@courier-mta.com>:
Tim Hasson writes:
In this case, the two messages were moved each to its own folder.
daemon1# cat tim/Maildir/maildirsize
30000000S
14028986 1524
3495 1
4740 1
3495 1
-3495 -1
4740 1
-4740 -1
This shows the messages were added, then deleted. (I didn't delete them :)
But the messages were only moved to the folders. And I can still see them
where they were moved.
That's how IMAP works. There's no such thing as "moving" a message to
another folder. That is done by copying a message, then deleting the
message in the original folder. That's what you see reflected in
maildirsize.
I also use EXPUNGE_TO_TRASH.
This means if I delete the message now from the folder it was moved to, the
message would be deducted twice?
I deleted the last of the two messages, then:
daemon1# cat tim/Maildir/maildirsize
30000000S
14028986 1524
3495 1
4740 1
3495 1
-3495 -1
4740 1
-4740 -1
-4740 -1
daemon1#
Yep, it was deleted twice.
No. The move operation resulted in each message getting added to, then
subtracted from the quota, making it a total wash.