[BlueOnyx:09300] 5107R Dovecot Expires Plugin

Estel Smith estel.smith at gmail.com
Tue Jan 3 12:00:53 -05 2012


I'm fairly new to using BlueOnyx as a hosting solution, and need to
know a bit about the effects system updates may have with changes to
configuration files.

I need to delete old emails from the server for all users, and have
turned to utilizing doveadm-expunge to do so (doveadm expunge -A
Mailbox '*' before 30d).

The doveadm-expunge command fails with the following messages:
doveadm(testing): Error: open(mbox) in directory /etc/dovecot/conf.d
failed: Permission denied (euid=502(testing) egid=501(site1) missing
+w perm: /etc/dovecot/conf.d, euid is not dir owner)
doveadm(testing): Error: Opening INBOX failed: Mailbox doesn't exist: INBOX
doveadm(testing): Error: Syncing mailbox INBOX failed: Mailbox doesn't
exist: INBOX

It seems that the expunge command is attempting to open the INBOX mbox
file in the current working directory, instead of each user's home
directory.

I made the following modifications to /etc/dovecot/conf.d/10-mail.conf
(Line 30) which seems to have resolved the issue.
- mail_location = mbox:~/mail/:INBOX=mbox
+ mail_location = mbox:~/mail/:INBOX=~/mbox

If I make changes to the mail server configuration in the web UI or
issue a system update, will the changes to the configuration file be
overwritten, causing doveadm-expunge to break again?

Thanks,
Estel Smith



More information about the Blueonyx mailing list