[Dovecot] maildirsize update error

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Wed Nov 22 07:21:19 UTC 2006


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

On Wed, 22 Nov 2006, Ben Marsh wrote:

> What happens when users find that they can store stuff in the Trash dir when 
> they are out of quota in the other folders?  Such behavior would make trash a

Therefore I wrote before:

> > 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.

> periodic enforced purges of the trash but that wouldn't go down well (At 
> least where I work).

Here as well.

>> 2. While moving a message do not touch maildirsize at all at least that
>> one of the folders involved (origin / destination) were Trash.
>
> Given that there is no move in the IMAP specification, Dovecot would have to 
> do a lookahead to find the expunge command after the copy command for all 
> move operations.  That would mean that dovecot would have to falsely return 
> success for all copies in order to "see" the next IMAP command.  In short I 
> don't think that it is good/desirable behavior because of these problems.

OK, that's a problem.

Hm, one could restrict this to Trash and rollback the action after the 
user logs out, N commands or something else, unless the original messages 
had been expunged.
How about to have a feature like "try to hardlink when COPY into Trash"?

Bye,

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

iQEVAwUBRWP6cy9SORjhbDpvAQIyQwf/UqvCpY2E7gRJtaYezHz/PJQLg/RPe8p4
uXpcj68VTSru6GSoyOanVY0jm5UfK5drFixtsh2TjW9ORTLrmTOs8NCW3746EbWh
U8nABxR6zvum45epegV15o6YgvaAWZnk1SZjAf6LXckn2TkkhE6h7kDzmlqFkemn
H0qmpBw/1apk6B1RFx7wE21rv8r7z2uCQqLlAPf8sTDihNVyR2DWOz53ShmzKLzg
bfFuzGFFps2ZaHgWF44gkhxDgyEwRIlP1T9UaVOWgNrnxY3t3eSE0dJugfqj2qJM
Qw9nl1ezEfubvvRn3tzLsygohlZ62M7kCFA7LebSqsk/2H1lQVOdgw==
=rKcc
-----END PGP SIGNATURE-----


More information about the dovecot mailing list