On 12/26/2012 11:25 AM, Eero Volotinen wrote:
2012/12/26 Robert Moskowitz rgm@htt-consult.com:
My first time with this. I got postfix, mysql, and postfixadmin setup, generally following
http://www.campworld.net/thewiki/pmwiki.php/LinuxServersCentOS/Cent6VirtMail...
I used postfixadmin to create my domain then added my first user and got an error:
Send Welcome mail: yes
Unable to send email! The mailbox has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created (faxit@test.htt-consult.com)
There is nothing under /home/vmail (in postfix/main.cf: virtual_mailbox_base = /home/vmail)
Advise on where to start troubleshooting? Perhaps a password or permissions not right?
Maybe permissions of /home/vmail is not correct, so postfix cannot create maildir?
Here are the commands I used to create vmail account:
mkdir /home/vmail chmod 770 /home/vmail useradd -r -u 101 -g mail -d /home/vmail -s /sbin/nologin -c "Virtual mailbox" vmail chown vmail:mail /home/vmail
Looking around a bit, there are some log files under /var/lib/mysql/postfix, one timed to the add user attempt. It does not display with cat. Some binary format.