Automatic emptying of recycle bin?

Hello NethServer community,

My question: it’s possible for the users’ baskets can be emptied automatically from Nethesis?

Example of the following services:

  • Email

  • WebTop

Thanks in advance to all for reading me.

Hi @Nix,
welcome to the community.
At the moment I have no webtop here, but for mail a solution could be to delete files with a script, for example every night with a cronjob.
The files you have to delete are at:

/var/lib/nethserver/vmail/username/Maildir/.Trash/cur
/var/lib/nethserver/vmail/username/Maildir/.Trash/new
/var/lib/nethserver/vmail/username/Maildir/.Trash/tmp

But only delete the content, not the folders please. Also I would recommend to do a backup before first try.

1 Like