Initialization failed: Namespace '': mkdir(/var/www/mail) failed: Permission denied

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Thu Oct 26 17:23:35 EEST 2017


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 26 Oct 2017, trash at skrilnetz.net wrote:

> /dovecot: lda(www-data): Error: user www-data: Initialization failed: 
> Namespace '': MKDIR(/VAR/WWW/MAIL) failed: Permission denied 
> (euid=33(www-data) egid=33(www-data) missing +w perm: /var/www, dir owned by 
> 1001:1001 mode=0755//)  /
>
> I did some troubleshooting and I don't understand where 
> the MKDIR(/VAR/WWW/MAIL) is coming from. Mailboxes are in /var/mail and

^^ /var/mail contains the INBOX only

> sending/receiving emails is working as it always did.
>
> mail_location is still setup to be MAIL_LOCATION = 
> MBOX:~/MAIL:INBOX=/VAR/MAIL/%U

Everything else is in ~/MAIL (why uppercase?)

> Why is it trying a mkdir in /var/www?

Because most likely /var/www is the home directory of www-data and you've 
configured to use $HOME/MAIL as base directory, which is /var/www/mail

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBWfHv6Hz1H7kL/d9rAQLoHwf+PL52wG8bqOJkfmBeezBdsjOGQN8fF07P
6SjI3PKSPjlo9w9yixRLjXRlGu6MEQj28KouT6bkJibCGMf2GebWX4zw1DiC/F5/
xwc3DU4ISCKUU/SfLGpJFz/1DDL77qtZcPyrpUzkIHz0O275dY912FyJxpPfJzi3
UiWRqmgtGmX6Uzsw0+XzR1zmFJ6o8wHyucxB6tPuy7U89JpRnayvUExN7rfB/Ogs
C5pafiv08jq6Ie+HFNkyVowpluVaG2OXclyucGNly3XnY7FSznkKfDYYYrVvP35o
jOtrqoToK7+Eg0qQFz9GBJfseI+iuHYBcmjOrBO/Sc1J1BWgDBm5lw==
=Nn7R
-----END PGP SIGNATURE-----


More information about the dovecot mailing list