On Thu, Nov 28, 2002 at 01:03:40PM +0100, Michael Schwendt wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, 27 Nov 2002 22:49:13 -0600, Ed Wilts wrote:
>
> > I'm interested in disabling the logging for pre-determined services.
> > What's the catch to making this work? Specifically, I want *no*
> > logging on ipop3 - it's disabled at the firewall and I don't need to
> > fill my maillog with logs of my wife's fetches every few minutes. I'm
> > currently using defaults for xinetd.conf and xinetd.d/ipop3 and every
> > combination I've tried for log_on_success and log_on_failure hasn't
> > worked.
> >
> I'd suggest "log_type = FILE filename" and then rotating that file
> periodically to keep it short.
I did that and the file is being created, but the entries are stil
ending up in the maillog.
# default: off
# description: The POP3 service allows remote users to access their mail \
# using an POP3 client such as Netscape Communicator, mutt, \
# or fetchmail.
service pop3
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += HOST DURATION
log_on_failure += HOST
log_type = FILE /var/log/ipop3
}
Here's a typical sequence of what's in the maillog:
Nov 28 09:55:03 www ipop3d[9502]: pop3 service init from 192.168.0.4
Nov 28 09:55:04 www ipop3d[9502]: Login user=twilts host=d800.ewilts.org [192.168.0.2]
nmsgs=0/0
Nov 28 09:55:04 www ipop3d[9502]: Logout user=twilts host=d800.ewilts.org
[192.168.0.2] nmsgs=0 ndele=0
Any other ideas? I would have thought that this would be easy, but it's
not turning out to be...
Thanks,
.../Ed
--
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list