mailinabox/conf/cron/local_clean_mail

6 lines
114 B
Bash

#!/bin/bash
#
doveadm expunge -A mailbox Trash savedbefore 120d
doveadm expunge -A mailbox Spam savedbefore 120d