Set Outlook delete to trash in NS8?

NethServer Version: 8
Module: mail
Hello,
in NS7 I did

config setprop dovecot DeletedToTrash enabled
signal-event nethserver-mail-server-save

to send in Outlook (2007, IMAP) deleted Emails to trash instead of only marking them as deleted.
Can I still do anything similar in NS8?
I get “config: not found” in the cluster shell and also after running

# config
-bash: config: command not found
runagent -m mail1 podman exec -it dovecot sh
/ # config
sh: config: not found

Regards
Uwe

The config command isn’t available in NS8 anymore.
I think it needs to be customized manually.

These were the options in NS7, I don’t know if the plugin is already included:

protocol imap {
	mail_plugins = $mail_plugins deleted_to_trash
}
plugin {
	deleted_to_trash_folder = Trash
}

I guess you need to replace $mail_plugins with the used plugins of dovecot.

Here’s how to customize dovecot:

Sorry, I can’t test it at the moment…

Thank You Markus,
I’m afraid, that’s far above my competences :frowning:
»deleted_to_trash« does not seem to be installed, I see some plugins installed but not deleted_to_trash

runagent -m mail1 podman exec -it dovecot sh
find / -name "*plugin.so"
/usr/lib/dovecot/doveadm/lib??_doveadm_*_plugin.so
/usr/lib/dovecot/lib??_*_plugin.so

The Plugins Github Page https://github.com/lexbrugman/dovecot_deleted_to_trash gives information for compiling the plugin but there is (of course) no make and all the other dependencies inside the container.
I will have to wait until I can get without this plugin.
Regards
Uwe