> Hello Dmitry, > > As a side note: the above documents Dovecot 1.x, and you're using 2.2.4. >
I thought that if it works in 1.x to 2.x then be all the more > This is a bit strange... are you really sure the home directory hasn't been created? > If yes, do you have some messages in your info.log? Really ... unfortunately. /var/log/dovecot/dovecot.info.log Jul 17 12:49:41 imap-login: Info: Login: user=<t...@example.com>, method=CRAM-MD5, rip=192.168.1.2, lip=192.168.1.1, mpid=10506, session=<RONGFqLhrgDAqAPO> /var/log/dovecot/dovecot.log Jul 17 12:49:41 imap(t...@example.com): Error: user t...@example.com: Initialization failed: Namespace '': mkdir(Maildir) in directory /var/run/dovecot failed: Permission denied (euid=1202(dovecot) egid=202(dovecot) missing +w perm: /var/run/dovecot, dir owned by 0:0 mode=0755) Jul 17 12:49:41 imap(t...@example.com): Error: Invalid user settings. Refer to server log for more information. 2013/7/17 Axel Luttgens <axelluttg...@swing.be> > Le 17 juil. 2013 à 14:32, "Dmitry ." a écrit : > > > Hi, > > > > [...] > > > > And yet, here > > http://wiki.dovecot.org/HowTo/SimpleVirtualInstall > > it is written > > Users can be added by editing this file. Dovecot automatically notices > the > > new users immediately after they're added. It also creates their home > > directories when the user logs in. > > Hello Dmitry, > > As a side note: the above documents Dovecot 1.x, and you're using 2.2.4. > > > > However, the directory is not created. > > > > [...] > > Jul 17 12:49:41 imap(t...@example.com): Debug: Effective uid=1202, > gid=202, > > home=/var/spool/vmail/example.com/test/ > > Jul 17 12:49:41 imap(t...@example.com): Debug: Home dir not found: > > /var/spool/vmail/example.com/test/ > > Jul 17 12:49:41 imap(t...@example.com): Debug: Namespace inbox: > > type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, > > subscriptions=yes location=maildir:Maildir/ > > Jul 17 12:49:41 imap(t...@example.com): Debug: maildir++: root=Maildir, > > index=, indexpvt=, control=, inbox=Maildir, alt= > > Jul 17 12:49:41 imap(t...@example.com): Debug: Namespace : Maildir > doesn't > > exist yet, using default permissions > > Jul 17 12:49:41 imap(t...@example.com): Debug: Namespace : Using > > permissions from Maildir: mode=0700 gid=default > > This is a bit strange... are you really sure the home directory hasn't > been created? > If yes, do you have some messages in your info.log? > > Axel > > >