mail not working after virgin installation of virtualmin

I set up a new server from scratch with CentOS 5.4.

I then installed virtualmin as directed via the command line.

I then performed needed updates, which all completed.

upon creating new virtual servers, none of the email associated with those domains would work - neither in email clients, or even usermin.

Some Googling showed that a change in DoveCot needed to be done, manually adjusting it to just go to ~/Maildir

Why is this needed on a virgin, out of the box, new installation, on the approved and suggested operating system?



I then installed virtualmin as directed via the command line.

So just to clarify, are you saying you used the script in order to perform your installation?

Do you happen to recall what that line in the dovecot.conf was previously set to before you corrected it?

Also, what does this command show:

rpm -qa | grep dovecot

(updated the above command to use "rpm, previously had "dpkg" which is used for debian/ubuntu systems)

rpm -qa | grep dovecot


The line in dovecot.conf was originally set to:

mail_location = maildir:~/Maildir:INDEX=/var/lib/dovecot/index/%u:CONTROL=/var/lib/dovecot/control/%u

I changed it to:

mail_location = maildir:~/Maildir