[Dovecot] rawlog without setting home in userdb

claus.r at bayern-mail.de claus.r at bayern-mail.de
Thu Jun 13 11:03:35 EEST 2013


Am 2013-06-13 04:41, schrieb Timo Sirainen:
> On Sun, 2013-06-02 at 10:11 +0200, Claus wrote:
> Hi all,
> 
> in my settup i decided to set mail_home in 10-mail.conf,
> and let dovecot do the hashing to a 2-level directory structure.
> 
> mail_location = mdbox:~/mdbox:ALT=/altstorage/%h/mdbox
> mail_home = /vmail/%1Mu/%2.1Mu/%u
> 
> In my userdb ist homedirectory not set and everythink works as 
> expected,
> except when i use rawlog i get only logs in ~/dovecot.rawlog if home is
> set in userdb.
> In wiki http://wiki2.dovecot.org/Debugging/Rawlog
> it reads:
> 
> If you don't have the home directory and you can't or don't want to
> modify userdb configuration, you can add:
> mail_home = /home/%u
> # or temporarily even e.g. mail_home = /tmp/temp-home
> 
> Looks like the wiki was wrong, mail_home field can't work there. 
> Updated
> it with a new suggestion about userdb { default_fields }.

Thank's for your reply, i changed my configuration and did'nt set the 
mail_home but the homr in uderdb default_fieled now it works perfect for 
me.

A little extra question: why do you split in and out in rawlog?



More information about the dovecot mailing list