[Dovecot] Enable Rawlog from userdb in Dovecot v2.2
-----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-----
On 11.11.2013, at 17.08, Steffen Kaiser skdovecot@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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 19 Nov 2013, Timo Sirainen wrote:
how do I enable Rawlog for one person only?
Not with the current code.
OK, thx
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUo24HF3r2wJMiz2NAQKarQf+O8GmEmlwnVbbePQ2n1+hmLKZFrq2ztow 0OfUZDnVxpDWEwbt/lCDv4AoKk8KoohOfr4lWwUb8MCiL+om/9Zxk5O4J+TQlh4c qMxOoo3svBEReWo7mh7sSPl1lEm2Nu220xOvlZ3dcwePbPO31/8YQFemcYQTSTyi Q/uGv0O0CoYapI7MKjf6/reT4e0atK4wzmWarOmrBNk0YouUNROK1RSaoLjMY/wl zRNdX2wnaw4cY20j7VaUWa8HXpJR740UT16XBYxQeTpV0UbpbWzY30RxMe26tiM0 lRSCZ0pUmbDNBUx91s+SDQceZ3rhLaVJ5jcXvJ1P64+XtK6jcFCZZg== =y6d4 -----END PGP SIGNATURE-----
participants (2)
-
Steffen Kaiser
-
Timo Sirainen