Prevent a message from be deleted but not from be moved
Reindl Harald
h.reindl at thelounge.net
Fri Nov 21 13:14:56 UTC 2014
Am 21.11.2014 um 14:00 schrieb Bruno Galindro da Costa:
> Is it possible to prevent a message from be deleted but not from be moved
> to another mailbox via ACL?
>
> I need this because I'm using antispam plugin with the mailtrain backend.
> It calls a script every time a message is moved to/from a monitored spam
> mailbox. But, if the user deletes a message from the spam folder, the
> script is executed with the option to train the antispam to consider that
> excluded message as a non spam.
>
> So, what I need is to prevent the user from delete a message from the spam
> mailbox, but I want to permit the user to move a menssage from the spam
> mailbox to another mailbox
simply: no
many if not most mail-clients in case of move issue two commands:
* copy to new folder
* delete from old folder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20141121/6579db9a/attachment.sig>
More information about the dovecot
mailing list