[Dovecot] index file vs. memory
Gunter Ohrner
G.Ohrner at post.rwth-aachen.de
Wed Feb 22 15:44:05 EET 2006
Am Mittwoch, 22. Februar 2006 12:54, schrieb Marcus Rueckert:
> > Tomorrow I'll switch of SSL and log the IMAP chatter between kMail
> > and dovecot. That's slowly getting ridiculous...
> you dont need to switch of ssl. use the rawlog feature of dovecot. see
> the config howto set that up.
Mh... I uncommented the line
mail_executable = /usr/lib/dovecot/rawlog /usr/lib/dovecot/imap
in my "procotol imap {}"-block. I cannot find any rawlog however, there is
no process called "rawlog" running and the imap process itself has no
filehandle to anything remotely related to a "rawlog" as well...
************************************************************************
# lsof | egrep '^imap[[:space:]]' | cut -c30-
cwd DIR 33,6 1024 15878 /home/gunter
rtd DIR 33,6 1024 2 /
txt REG 33,6 428364 4136 /usr/lib/dovecot/imap
mem REG 33,6 27304 9751 /lib/libnss_compat-2.3.2.so
mem REG 33,6 32480 9755 /lib/libnss_nis-2.3.2.so
mem REG 33,6 34520 9753 /lib/libnss_files-2.3.2.so
mem REG 33,8 114828
257211 /var/lager/var/maildir/gunter/.Mailinglisten.Software.Netz.Dovecot/dovecot.index
mem REG 33,8 424960
253886 /var/lager/var/maildir/gunter/.Mailinglisten.Software.Netz.Dovecot/dovecot.index.cache
mem REG 33,8 106992
123879 /var/lager/var/maildir/gunter/.Mailinglisten.Software.Netz.Dovecot/dovecot.index.log
mem REG 33,6 91240 10654 /lib/ld-2.3.2.so
mem REG 33,6 1247360 10655 /lib/libc-2.3.2.so
mem REG 33,6 11384 10660 /lib/libdl-2.3.2.so
mem REG 33,6 75040 10663 /lib/libnsl-2.3.2.so
0u unix 0xc3860b90 5909769 socket
1u unix 0xc3860b90 5909769 socket
2w FIFO 0,5 5909779 pipe
3r CHR 1,9 6154 /dev/urandom
4r FIFO 0,5 5909781 pipe
5w FIFO 0,5 5909781 pipe
6r FIFO 0,5 5909782 pipe
7w FIFO 0,5 5909782 pipe
11u REG 33,8 114828
257211 /var/lager/var/maildir/gunter/.Mailinglisten.Software.Netz.Dovecot/dovecot.index
12u REG 33,8 106992
123879 /var/lager/var/maildir/gunter/.Mailinglisten.Software.Netz.Dovecot/dovecot.index.log
13u REG 33,8 424960
253886 /var/lager/var/maildir/gunter/.Mailinglisten.Software.Netz.Dovecot/dovecot.index.cache
#
************************************************************************
Is there anything else I have to do to enable rawlog? (eg. a build
time ./configure switch? The rawlog binary is present, however...)
The config file I changed definitely is the one which si read by dovecot,
the imap txt is the right one, and I deliberately added a syntax error to
the config just to be sure, and it caused an error message as expected.
From the comments in the config file the rawlog should appear in the
user's home directory, which it definitely does not:
************************************************************************
# dir /home/gunter/ -a
total 24
drwxr-xr-x 2 gunter gunter 1024 Oct 3 12:24 .
drwxrwsr-x 5 root staff 1024 Jul 24 2005 ..
-rw------- 1 gunter gunter 792 Feb 22 12:44 .bash_history
-rw-r--r-- 1 gunter gunter 414 Jul 21 2005 .bash_profile
-rw-r--r-- 1 gunter gunter 2044 Jul 21 2005 .bashrc
-rw------- 1 gunter gunter 112 Feb 22 12:44 .nano_history
-rw------- 1 gunter gunter 16167 Feb 22 12:44 .procmailrc
#
************************************************************************
Mh...
Greetings,
Gunter
--
*** Powered by AudioScrobbler --> http://www.last.fm/user/Interneci/ ***
14:36 | Dark Noize - Your Only Motions (Single Mix)
14:27 | Ace's Delight - Mental Theme (Ultra Trance Mix
14:24 | Harald Kloser - Techno Download
14:19 | Juno Reactor - Conga Fury
*** PGP-Verschlüsselung bei eMails erwünscht :-) *** PGP: 0x1128F25F ***
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20060222/19bdb953/attachment.pgp
More information about the dovecot
mailing list