syslog imapd pop3d

Nelis Lamprecht nlamprecht at gmail.com
Fri Nov 12 08:25:32 GMT 2004


On Thu, 11 Nov 2004 19:21:13 +0100, Mark Frasa <bsd at frasa.net> wrote:
> Hello,
> 
> I was wondering wheter it's possible that pop3d and imapd don't log to
> maillog
> 
> My syslog.conf is like this:
> 
> mail.info                                       /var/log/maillog
> !imapd
> *.*                                             /var/log/imapd.log
> !pop3d
> *.*                                             /var/log/imapd.log
> 
> So every pop3 and imap (Couriers) connection made are logged to
> imapd.log
> 
> The problem is that i don't want it logged to /var/log/maillog but it
> does.
> How can i stop syslog from doing that, but leave the normal mail
> information to log towards /var/log/maillog?
> 

I don't think this is possible with syslog but I may be wrong. I think
you would probably need something more like multilog here for this to
work which is a part of D.J. Bernstein's daemontools available in
ports.

http://cr.yp.to/daemontools/multilog.html

Nelis


More information about the freebsd-questions mailing list