Prevent a message from be deleted but not from be moved
tom at whyscream.net
Sat Nov 22 18:49:06 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
On 22-11-14 02:40, Bruno Galindro da Costa wrote:
> Em 21/11/2014 13:25, "Tom Hendrikx" <tom at whyscream.net> escreveu:
> On 21-11-14 14:00, Bruno Galindro da Costa wrote:
>>>> 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.
>> Isn't the antispam plugin setting that defines the Trash folder
>> exactly there to mitigate this behaviour? I.e.:
>> - move from anywhere to spam folder => train as spam - move from
>> spam to trash => don't train - move from spam to anywhere else =>
>> train as ham
> How can I do it Tom???
Please don't top-post.
See the manpage for dovecot-antispam that came with your install.
You're looking for the config settings 'antispam_trash' and/or
'antispam_trash_pattern', they should list the names of your Trash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-----END PGP SIGNATURE-----
More information about the dovecot