Hi
@cPanelMichael ,
I have followed the steps in an old thread to auto delete the spam messages that Spamassassin marks as spam and places in the Junk folder, the thread is at
Auto-deletion of emails but they do not work.
I created the copied the file /var/cpanel/templates/dovecot2.2/main.default to /var/cpanel/templates/dovecot2.2/mail.local
I added the expire 4, 5 and 6
[% IF expire_trash %]
expire_dict = proxy::expire
expire = Trash
expire2 = "Deleted Messages"
expire3 = "INBOX.Deleted Messages"
expire4 = INBOX.Trash
expire5 = Junk
expire6 = INBOX.Junk
I then rebuilt the config, and get the
'local' template in use message (/scripts/builddovecotconf) but when I run
dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool command I get
Fatal: Unknown argument: --exec-mail error. When I try running /scripts/dovecot_auto_expunge_trash directly I get a
-bash: /scripts/dovecot_auto_expunge_trash: No such file or directory error.
Did you ever manage to get this working as I see you asked for the other person who asked about this to submit a ticket but no update was made to the thread