rewrite copy to trash->delete->expunge mail with move??

Steffen Kaiser skdovecot at inf.h-brs.de
Tue Jan 23 09:11:27 EET 2018


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

On Mon, 22 Jan 2018, Chi Min Wang wrote:

>       When user got quota exceed and trying to delete mail. Most MUA's 
> default "move to trash folder" will proceed by copy mail to trash folder,then 
> by delete/expunge it(copy before expunge). Unfortunately this will not 
> success due to quota exceed. Is there any way to let dovecot proceed it by 
> IMAP MOVE instead of "copy to trash folder"->delete/expunge,Thanks!!

when your MUA uses COPY, why/how should the server mangle it into MOVE? 
Should it forsee the later expunge? The server must reply to the COPY 
before it sees the later commands.
If you buy lemons and water, what would you think, if the shop gives you 
lemonade, because it (computer, roboter or shopkeeper) forsees that you 
want to put both together anyway?

The work around would be:
https://wiki2.dovecot.org/Quota/Configuration

search for Trash

The problem however is, that some MUAs use other mailboxes than "Trash".

"move to trash folder" is bad thing and painful, I agree with you.
Add the other aspect: Delete in another namespace.

> ***********************************************
> CONFIDENTIALITY NOTICE:This e-mail and any attachments are confidential and 
> may be legally privileged.
> If you are not the intended recipient, (i) please do not read or disclose to 
> others, and (ii) please
> notify immediately the sender by reply mail, and (iii) please delete all 
> copies of the email from your
> system. Failure to follow this process may be unlawful. We greatly appreciate 
> your cooperation.

Well, a public mailing list ...

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBWmbgH8QnQQNheMxiAQKp/Qf/aKk5Sn7mlzoJU2C5DjMrU3p+BxeSeWjw
5ePNIHxs1zmpC8XEBcEMpikXzvz+1XBKFrmDrYzQv6iibNNMFcXkcHE+FWDeJ/eb
4rdsjb2Eovo3gAIg8fT+LcKrUNXMPDb6FoWl94YyIu4BUzysrhpkWTdHmU3pH1Fu
520NaOSVOASSqMKYaO8t3AGZYK6CMinfFCyO+PSFt/CiBc642adzaqnRdtiNkMeY
VBhF8wf4WEqiyaysbbuSmC5/VZ1NTyVRt9KdWaThAcQVVMUf3rMngu70ssYVhWbZ
1A3KMV4ZGh4W7CQJ0vxJHgLoxu0C9pNu15fTfa3TJtkrZbCJNORt3w==
=6ZYx
-----END PGP SIGNATURE-----


More information about the dovecot mailing list