[Dovecot] Rawlogs in freebsd?
I am trying to enable rawlogs.
I made a directory /home/dovecot/dovecot.rawlog/, changed dovecot.conf to
have
mail_executable = /usr/local/libexec/dovecot/rawlog /usr/local/libexec/dovecot/imap
Made sure the /home/dovecot/dovecot.rawlog/ could be written to. Even made it 1777 as a test.
Made sure the FreeBSD user database points /home/dovecot as the dovecot user's directory (left shell as nologin).
Compiled dovecot from ports and using Dovecot 1.0.r21.
Still no rawlog.
Any pointers?
On Fri, 2007-02-09 at 00:55 -0500, Francisco Reyes wrote:
I am trying to enable rawlogs. I made a directory /home/dovecot/dovecot.rawlog/, changed dovecot.conf to have
mail_executable = /usr/local/libexec/dovecot/rawlog /usr/local/libexec/dovecot/imapMade sure the /home/dovecot/dovecot.rawlog/ could be written to. Even made it 1777 as a test.
Made sure the FreeBSD user database points /home/dovecot as the dovecot user's directory (left shell as nologin).
Should work I think. Does it leave a rawlog process on the background? If not, it didn't think /home/dovecot was the home directory. You can check with auth_debug=yes what it logs as the user's home directory. If that doesn't help, you can ktrace -d the dovecot process and see what path the lstat(<home>/dovecot.rawlog) call uses.
participants (2)
-
Francisco Reyes
-
Timo Sirainen