doveadm expunge returned an error: ... Mailbox doesn't exist: INBOX.spam

Version 1.61.3

Bugfix
Finished

The nightly purge_spam_days feature, when enabled would try to clear old data from spam and trash folders. The issue is if those folders do not exist, errors are added to the errortaskq.log, when they're not needed. Releated errors: dovecadmn expunge returned an error: doveadm(user@domain.com): Error: Syncing mailbox 'INBOX.Trash' failed: Mailbox doesn't exist: INBOX.Trash dovecadmn expunge returned an error: doveadm(user@domain.com): Error: Syncing mailbox 'INBOX.spam' failed: Mailbox doesn't exist: INBOX.spam If doveadm returns code 68 (above), the error will not be logged. Also fixed the typo: dovecadmn » doveadm

Interested to try DirectAdmin? Get a 30-day Free Trial!