Hi all,

seen various messages about not being able to turn of logging. First of all, make sure the daemons read the proper config file (there's a minor bug in 1.1 causing the '-f' option to be unrecognized. You can solve this by using the latest cvs or renaming the '-f' option to anything but '-f'; let's say you start the imap server using dbmail-imapd -c myconfigfile.conf).

In the config file there are several lines defining 'TRACE_LEVEL', each for a/some different program(s). To completely turn of logging, define TRACE_LEVEL to be 0. Default value is 2, meaning that only errors and login/logout are logged except for the IMAP commands: these are logged as errors by default (a debugging relic). You can prevent this by editing the file imap4.c: search for the line

#define COMMAND_SHOW_LEVEL xxx

and change xxx to TRACE_DEBUG.

After this change you should rebuild the imap daemon. Also, after each change in the dbmail.conf file you should restart the daemons (or send them a -HUP signal).

If you are still seeing any log messsages while TRACE_LEVEL is set to 0 everywhere in the configfile than you have found a bug we are not experiencing ourselves - we would be very pleased to have some details about your system's configuration in order to be able to solve this problem.

regards roel


_________________________
R.A. Rozendaal
ICT Manager
IC&S
T: +31 30 2322878
F: +31 30 2322305
www.ic-s.nl

Reply via email to