Maildir is not created for administration user

Hi there,

I am running Virtualmin 3.99 on Ubuntu server 12.04.

When I create a new virtual server, the administration user has no Maildir created in the home folder and cannot login to usermin. However if I add additional users to the server, the Maildir is created correctly in "homes/[user]/Maildir" and everything works fine for the second user.

When creating the server, there is no error messages. The output even reads "Creating mailbox for administration user .. .. done".

Many thanks, Will

Status: 
Active

Comments

Howdy -- you may want to check in Edit Users -> USERNAME -> Email Settings for your administrative user, and verify that "Primary email address enabled" is set to "Yes".

Also, if your user isn't able to log in -- you can see what errors are you getting in /var/log/mail.log when attempting to login.

If you still have questions after reviewing the above -- it looks like you're using Virtualmin GPL there... unfortunately, the Support area here is for folks using Virtualmin Pro.

What we're recommend is opening up a new forum post (using the Forum links above), and posting your question there.

In that post, include any errors that are in your mail log.

We monitor the forums, along with lots of wonderful folks in the community. Thanks!

Thanks for the help. That pointed me in the right direction and I managed to resolve it.

For whatever reason it looks like Virtualmin wasn't automatically creating Maildir for first user (admin user of virtual server), and relies on Dovecot to do so when you try to use email the first time. I have used Chrootdirectory on the sftp and because of that Dovecot couldn't get the permissions to create the Maildir. I have added Maildir and .tmp to /etc/skel to fix that.

Will