[Dovecot] maildirsize update error

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Mon Nov 20 12:43:30 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 18 Nov 2006, Timo Sirainen wrote:

> On Thu, 2006-11-16 at 16:07 -0500, Maykel Moya wrote:
>> According to [1], Trash is a reserverd folder name. When moving a
>> message to it, maildirsize should be update with a negative byte count.
>
> Well, yea.. I'm ignoring that part of the Maildir++ spec. Perhaps it
> could be done optionally, but I'm not sure if it's still that good of an
> idea.
>
> I think a better idea is to give Trash mailbox a bit of extra quota,
> instead of unlimited quota. Unfortunately this won't work with v1.0's
> quota plugin, but it is possible with my rewritten quota plugin:

The original post mentioned that to move a message into Trash fails, when 
the user is over quota.
This, in the end, prevents an user to get under quota in MailDir++, 
because the messages are expunged from Trash only.

I agree that it is not good to have an unlimited Trash folder, but to move 
a message from one folder into Trash should be always possible. (Actually, 
I think it would be OK to move messages around within the same quota root 
regardless of the quota at all, because the message is already on the 
system and it does not matter in which folder, except for Trash.)

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQEVAwUBRWGi9S9SORjhbDpvAQIuMQgAna5mBpQbIFhTitHTPy69q85srGxInu6p
yGmh7nM6GmlX6FfcdWGlqo+Nr2Pt7SftXSowswNCv7JkhH1r+2Pz8TEWEjs17K01
ntaWFsa74uDaOPNqBfwdv39ikyDY9HAJhRIFGrJO/6Nc7OmqfX35WRrHH/0jb1R4
h3tEPgtx/fy2JXCsAz7wVAztVntaEg/oSrxqCfiQf6EfsuFvdbLG/mCe3ZtPSPZl
4ZRp8CWidq97bZX3qdEQIvD8pynEzcRm4VRKy+g3dnpDQ/ziyGxU8lOD4IrIKRdA
DbiygA4d66p9kResm7K64FOyaim8MHolunxc49Oc+dAcLPBRMUb9dw==
=rCAQ
-----END PGP SIGNATURE-----


More information about the dovecot mailing list