Question about mail_location

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Aug 16 08:40:20 EEST 2017


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

On Wed, 16 Aug 2017, Laura Steynes wrote:

> In using mysql, in the configuration file we need to specify, in the user
> query,  '/path/ as home, yet but in dovecot.conf, we also are setting
> mail_location, the same thing is it not, so unless I've missed something,
> do we still need to use the path as home in the user query? Do we only need
> set that if it differs from mail_location?

I can interprete your question in several ways, depending on what you are 
looking for:

https://wiki2.dovecot.org/VirtualUsers/Home
- -> yes, you need a home *and* a separate mail directory for each user

Dovecot can derive the mail_location from home (using ~ or $h), but not 
the other way round. Hence, you need to configure a home directory. Do 
this als default in the userdb section or let it return by the userdb.

You need not configure Mail_location in Dovecot's conf files, if you 
always return home and mail directory from your userdb.

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

iQEVAwUBWZPaxHz1H7kL/d9rAQJQOAf/dDvfjF7pTlLY1tMhwIbPH9JotbAyGWYS
uz+4uE9aISn9+MU6NxIKypuLEQtBqAX1les+XGcgtDgjA7NBqLzIPAlFU7G041Qi
99FIhMWXg39MCLKjWRsHuD8Mm4t4Rj8+wY7xAS2l/BuFxcNVskwShRrJgvU9Xovw
xAUHMRyx5htZjnzBbO2QVQZ5vQVKitqlJwdlwDk+3RFcM/eEQmBZi9/dlwUBJlAi
JdlNqu3zZfDqJ5EKmpscb4A56dxeKlXfuZdv9b72/CHEs892CXnlrXp5fkxOmESJ
1ADNU+KYAGyUz6CMxoh1pTsNRImtXbPbPhiv70SyI/PQPl57iYz/+Q==
=Fkkm
-----END PGP SIGNATURE-----


More information about the dovecot mailing list