On 8/5/2011 6:38 AM, Robert Schetterer wrote: > Am 05.08.2011 13:31, schrieb Ralf Hildebrandt:
>> Multiple options: >> >> * use a syslogd which can do filtering (syslog-ng) based on regexp >> * or do it this way: >> >> main.cf: >> syslog_facility = local4 >> >> and in syslog.conf: >> local4.* -/var/log/mail.log >> mail.* -/var/log/pop3d-imapd.log Thanks Ralf. I may have to try this out. Any downside to using local4 for mail? I looked into this a while back and decided against it for some reason. Can't recall why at this point. > or use seperate dovecot log file > http://wiki.dovecot.org/Logging Robert I've been using this option for quite a while now. I don't care for the fact that one must rotate the files manually, write a one off script to do so, or attempt to integrate it with the systems log rotation script. In all fairness though, Timo doesn't own this particular problem. The syslog gods have not yet seen fit to include the standard log files 'pop' and 'imap'. Ironically, rsyslog, at least the Debian implementation of it, includes support for the news service, which is an extinct dinosaur... -- Stan