[Dovecot] Help with logging in and getting mail

Timo Sirainen tss at iki.fi
Sat Dec 29 23:20:47 EET 2007


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071229/25576b0a/attachment.bin 


More information about the dovecot mailing list