[Dovecot] Dovecot 2.2.4 does not create home directory?

Axel Luttgens AxelLuttgens at swing.be
Wed Jul 17 17:54:05 EEST 2013


Le 17 juil. 2013 à 16:11, "Dmitry ."  a écrit :

>> 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

Probably. :-)
But sometimes with incompatibilities.


> [...]
> /var/log/dovecot/dovecot.log
> Jul 17 12:49:41 imap(test at example.com): Error: user test at 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)

Aaaah!

Those small details...
I didn't notice it immediately in your original message:

> user_query = SELECT \
> concat('/var/spool/vmail/', home) AS home, \
> concat('maildir:', maildir) AS mail \

I guess you should have something like this:

	concat('maildir:~/', maildir) AS mail \

HTH,
Axel



More information about the dovecot mailing list