Hi
We are in the process of upgrading our existing server and setting up some new servers.
We currently have 3 Virtualmin Pro servers and 1 Virtualmin GPL server (for testing).
All these servers have just been loaded from scratch with clean Debain and then Virtualmin with no other additions.
In the mail log we are getting "Jun 23 08:23:09 sv15 dovecot: POP3(xxx@xxxx.com): mkdir(/var/lib/dovecot/index/xxx@xxxx.com/.INBOX) failed: Permission denied"
When checking the Dovecot configuration file /etc/dovecot/dovecot.conf I have found the following
Virtualmin PRO has "mail_location = maildir:~/Maildir:INDEX=/var/lib/dovecot/index/%u:CONTROL=/var/lib/dovecot/control/%u"
Vitrulamin GPL has "mail_location = maildir:~/Maildir"
Our old server running Virtualmin Pro does not have a "mail_location" setting at all
Can you tell me what they should be as suspect this is the problem.
Can this be caused by us when installing?
Thanks Greg
Comments
Submitted by andreychek on Mon, 06/22/2009 - 17:52 Comment #1
Nice find in limiting it down to the mail_location line :-)
There's a couple of ways to resolve that -- personally, I'd change the mail_location lines to what you're seeing on your GPL install:
mail_location = maildir:~/Maildir
That's exactly what I have setup on my systems here.
You'll need to restart dovecot afterwards:
/etc/init.d/dovecot restart
Submitted by JamieCameron on Mon, 06/22/2009 - 19:47 Comment #2
Alternatively, you might want to make sure that /var/lib/dovecot is world-readable and listable (mode 755), and /var/lib/dovecot/control and index are world-writable (mode 777).
Submitted by xkeywee on Tue, 06/23/2009 - 02:16 Comment #3
Which is the preferred or correct setting for Virtualmin?
Submitted by JamieCameron on Tue, 06/23/2009 - 08:15 Comment #4
The preferred setting is the permissions I mentioned above. These are actually the defaults setup by the Virtualmin installer, but sometimes upgrading Dovecot can break them..
Submitted by xkeywee on Tue, 09/08/2009 - 02:23 Comment #5