Running Dovecot
I have adjusted the startup script distributed by Dovecot and saved it as /usr/local/bin/dovecotctl: #!/bin/bash ### BEGIN INIT INFO # Provides: dovecot # Required-Start: $local_fs $remote_fs $network $syslog $time # Required-Stop:...
Expunging expired Junk and Trash emails with dovecot
Of course we want to delete old Junk and Trash emails to save hard disk space. If you want to expunge your Junk and Trash folder after 60 days you can set 15-mailboxes.conf as follows: namespace { mailbox Junk {...
Setting dovecot stats' service priviledges
Today I stumbled upon this error in my qmail-send log (yes qmail-send, not dovecot.log) @400000005e5303ff0fe76364 delivery 407: success: lda(postmaster@mydomain.xy):_Error:_net_connect_unix(/usr/local/dovecot/var/run/dovecot/stats-writer)_failed:_Permission_denied/did_0+0+1/ Fortunately the messages were delivered successfully to the Maildirs despite of this problem. I realized that I had to setup the stats service when upgrading...
Restoring the maildirs in dovecot (maildir++ patch bug fix)
It was pointed out (tx MG) that the maildir++ patch was broken because of a wrong calculated maildir size, and this is causing troubles especially with the new dovecot-2.3. Now that patch was repaired but the maildirs' size remains broken. This can...