mail_location maildir:~/Maildir Invalid user settings[SOLVED]

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Dec 3 06:56:41 UTC 2014


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

On Wed, 26 Nov 2014, soko.tica wrote:

> I was having quite a hard time configuring dovecot on OpenBSD -current.
>
> The problem was default Maildir setting in 10-mail.conf, namely:
> mail_location maildir:~/Maildir
> was unable to locate user's home directory.

Dovecot makes use of an user's home dir in some situations. You should 
investigate the problem further, esp. if you think about to enable Sieve.

> As far as I can remember, it was the correct setting on
> OpenBSD-current a week or two ago.
> Once I figured out and changed it to
> mail_location maildir:/path/to/home/%u/Maildir
> the problem was solved.

Actally, you worked around the problem. Dovecot seems to have problems to 
read the home dir from /etc/passwd.
Do you have some Unix-hardening stuff ( Mandatory Access Control, 
Systrace) in place?

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBVH60KXz1H7kL/d9rAQK1xAf9FCQdNxQlgKSsdflMLRWvWjzYr5DXrAfO
PBly3bqtY1HrjK7yXA9zngntJ3OspdBG7Sbp8wyWQ7GAsNCCFviz/f+2S+tPlZ4b
abqsNQ9kuR1J6o/ewUZQgRK0NivwRUv/1VU2NJ1EUiYGd5/u9k3FRQwuzR+Hax/t
Mw9Joib68+yC6eX6V2zbUOriKEfhGDJaCZcBjxHPU6peDl9EQxBPqmtTQEe9APTw
rvepTq1yxlK47Gpi6wCP77zLGSHJSexlDTtBgLc/7mW+svhKoXe1ORA+F7oBpTPj
XkB0b/hq+lFOBJbjU3iRt7x8wLLcdl5idqXcx4x81Zk35jZnrDf0lA==
=dVRV
-----END PGP SIGNATURE-----


More information about the dovecot mailing list