Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2004 10:25:30 +0200
From:      Nelis Lamprecht <nlamprecht@gmail.com>
To:        bsd@frasa.net
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: syslog imapd pop3d
Message-ID:  <7cbadc8704111200256a1f6047@mail.gmail.com>
In-Reply-To: <1100197272.18957.33.camel@ws01.frasa.net>
References:  <1100197272.18957.33.camel@ws01.frasa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Nov 2004 19:21:13 +0100, Mark Frasa <bsd@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7cbadc8704111200256a1f6047>