Hi Ilja, What facility does the pop3 client, and the smtp client log messages to syslog through? I'm using the default FreeBSD 5.1 syslog configuration. Here are the relevant portions:
*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messa ges mail.info /var/log/maillog console.info /var/log/console.log Should I change something? Thanks, Angus Angus Jordan wrote: > Hello all, > > I would like to log a very minimal amount of information into my > /var/log/maillog file only (FreeBSD 5.1 / DBMail 1.2.7b). Currently, I > have (in the /etc/dbmail.conf) all of the TRACE_LEVEL's set to 1. It logs > into /var/log/messages, /var/log/maillog, and to the console. Is there > another method of logging? Also, it logs too much information on the pop3 > side. I'd like it to log a single line entry, stating the user and the > amount of messages they have - and on another line if there were any errors. I think there must be something wrong with your syslog configuration. Messages for /var/log/maillog shouldn't go to /var/log/messages or to the console. About the fact that you think too much information is being logged: I guess that's mostly a matter of personal taste. I you want to change it, you will have to hack pop3.c Ilja -- Open WebMail Project (http://openwebmail.org)