The code is in utils/rawlog.c but it never seems to be called anywhere?
Gregory Bond wrote:
The code is in utils/rawlog.c but it never seems to be called anywhere?
Did you configure/compile it with the "--with-rawlog" flag?
You should get a utility, "rawlog", that you can enable in your dovecot.conf.
In my settup (this is a single line, broken by me for my mailer's convenience):
mail_executable = /phil/sw/sunos/sparc/libexec/dovecot/rawlog
/phil/sw/sunos/sparc/libexec/dovecot/imap
Run dovecot in such a configuration, and create a "dovecot.rawlog" directory in your home dir. If that directory exists, and the rawlog process is configured as a wrapper for your imap process, you get raw logging.
Hi,
Is there a way of doing this? If I copy the content to another user mailbox, will it work? Chown? Change the headers?
Thanks
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Tue, 2005-09-06 at 02:01 -0700, Ashvin Meetoo wrote:
Hi,
Is there a way of doing this? If I copy the content to another user mailbox, will it work? Chown? Change the headers?
With Dovecot it's enough to just copy the files there. chown might be good, but even that's not needed as renameing/deleting the file is all that is needed and directory's permissions are used for that.
But instead of "copying", make sure that it gets there in one piece so that Dovecot doesn't see it only partially. So eg. copy it first into tmp/ directory and then rename() (or mv) it to the new/ directory.
participants (4)
-
Ashvin Meetoo
-
Gregory Bond
-
Jeroen Scheerder
-
Timo Sirainen