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

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Nov 11 17:08:49 EET 2013


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

Hi,

how do I enable Rawlog for one person only?

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

Log entry:
  imap: Debug: Unknown userdb setting: plugin/service/imap/executable=imap postlogin


and:
service imap/executable=imap postlogin
(note the space between service imap)

Log entry:
  imap: Debug: Unknown userdb setting: plugin/service imap/executable=imap postlogin

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

iQEVAwUBUoDzAV3r2wJMiz2NAQJxgwf+NCaABKspwVffTpQqVIAdlXGi2gUrRd29
1Ic82v5xqx8jMQ+UxnKNJBX2jgs87GITWpPtTXUVS8H6piNDJrcAxT0lIun0l4Ob
4riQh01HrMjwWORAAWvHHQWZbyiDu8i2h8PjQAG/8idpCt0lCmmr2DyRQwSx+7lf
JgfxfccYMRhAHtethm82cjWs3Q/M9deO+ds+aLwxGhDaYxHcU8vD3ESuhqnsR4Bh
VqemH3wBADpfKH3ThRKknsfGfEU5d8bcz1GzhOcjfwC24kPsei4k9wcDAy+moyk1
8vPYyvWnhhfb0/yiO3eLpX0mdlM9Iur1X3MFvA0tFwnB8RtuqZGw3g==
=/TtK
-----END PGP SIGNATURE-----


More information about the dovecot mailing list