[Dovecot] Disagreement on where mail goes.

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Aug 19 09:42:47 EEST 2013


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

On Sat, 17 Aug 2013, LuKreme wrote:

> On 16 Aug 2013, at 17:55 , Bob Miller <bob at computerisms.ca> wrote:
>
>> One guess: your mail_location is misconfigured.
>>
>> something like:
>>
>> mail_location = maildir:/usr/local/%u/Maildir
>
> First, that isn't the right location. I moved the mail folders into maildir because dovecot didn’t see the mail otherwise. It shouls be /usr/local/%u
>
> But *only* for the sql users. I though mail_location would set it globally for all users.

?

See http://wiki2.dovecot.org/MailLocation/Maildir I never used it myself, 
but if you specify mail_location, you should be able to drop "/Maildir" 
from the path. If Dovecot is to automagically detect the mailbox format, 
you need Maildir.

If you want to use different mail locations, you need to have your userdb 
return another mail_location setting for (some) users. E.g. configure the 
default / usual mail_location in the conf files and have SQL return a 
field mail with the proper location for that particular user.

http://wiki2.dovecot.org/MailLocation

"2. mail userdb field overrides mail_location setting."

http://wiki2.dovecot.org/AuthDatabase/SQL

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

iQEVAwUBUhG+Z13r2wJMiz2NAQKG7gf7BPZku1Ix3vKFOOZj6LiBS5vuoubXbYXW
LTaASX/LIY0x7yYwcSP+BSEmhYEKjr3iw+IyyDs/yRfr18brMTinIrBH1B0HOwms
9g/WWH1qFUe0eqBq7V6X4lRVJ5SaDoxirR9K6GDudrDI5D3N/HuLu1LQQRfLZSu6
tzAwrLKkplpI3mhooplLs9LaBn9qjuTlCu1pHrjlUHqlIqLtNnAPR20YDZrSBryX
1tq0YcVRXcvbZ/wodJYAuPmrZFzMhMjeSgqys7P24Mtoubb0YODjJZII/Dj7Bnpd
X2nZ5KQn/EuzNmew/9hezVTkTyOWp3c8/RE3tQJwVMa8d73GYiDr0A==
=K19R
-----END PGP SIGNATURE-----


More information about the dovecot mailing list