29 Dec
2007
29 Dec
'07
11:20 p.m.
On Sat, 2007-12-29 at 14:00 -0700, Andrew Falanga wrote:
mail_location: mbox:~/mail/:INBOX=/var/mail/%u .. userdb: driver: sql args: /usr/local/etc/dovecot-sql.conf .. Dec 29 15:01:54 whitbap dovecot: POP3(jdunkin): mkdir_parents(/var/mail/vmail//mail) failed: Not a directory
Your SQL lookup returns "/var/mail/vmail/" as the user's home directory. You'll need to have a proper per-user directory as their home. For example have the user_query return '/home/virtual/%u' as home. See http://wiki.dovecot.org/VirtualUsers#homedirs
Also setting auth_debug=yes and mail_debug=yes may be helpful when figuring out why things don't work right.