[Dovecot] Problem with users home...

websafe websafe at partybitchez.org
Wed Apr 27 05:03:10 EEST 2005


Hi :)

I hope this short example shows what problem I have:

# returns users homedir from /etc/passwd
	
	grep user1 /etc/passwd | cut -d':' -f6

# result:

	/home/group-subdir/user1

And the logfile...

#maillog
imap-login: Login: user1 [192.168.0.253]
imap(user1): mkdir(/home/user1/Maildir/.Trash) failed:
	No such file or directory


Why Dovecot tries to create /home/user1/Maildir/.Trash
and NOT /home/group-subdir/user1/Maildir/.Trash as
in /etc/passwd ???

Is there any solution? I'm running 0.99.14
# cat /etc/dovecot.conf
ssl_disable = yes
disable_plaintext_auth = no
login = imap
verbose_proctitle = yes
default_mail_env = maildir:/home/%u/Maildir
auth = default
auth_mechanisms = plain
auth_userdb = passwd /etc/passwd
auth_passdb = shadow /etc/shadow
auth_user = root


Thanks in advance,
-- 
websafe



More information about the dovecot mailing list