[Dovecot] Enable Rawlog from userdb in Dovecot v2.2

Timo Sirainen tss at iki.fi
Tue Nov 19 22:04:33 EET 2013


On 11.11.2013, at 17.08, Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> wrote:

> how do I enable Rawlog for one person only?

Not with the current code.

> http://wiki2.dovecot.org/Debugging/Rawlog
> 
> describes how to enable the postlogin script for all users. Rawlog gets active only, if the dovecot.rawlog directory exists. So far, it's working.
> 
> However. I suspect that there is some notable overhead in this chain, so I tried to enable rawlog via userdb extra fields.
> 
> So setup the config as:
> service imap {
>  executable = imap
> }
> service postlogin {
>  executable = script-login -d rawlog
>  unix_listener postlogin {
>  }
> }
> 
> 
> In the userdb extra fields I tried:
> service/imap/executable=imap postlogin

service settings are handled by master process, which doesn’t know anything about userdb lookups, so this doesn’t work.



More information about the dovecot mailing list