-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 28 Nov 2002 10:02:39 -0600, Ed Wilts wrote:
> > 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...
It seems log_type does only work for xinetd itself. Looking at the
source code of ipop3d from the imap package, all logging is
hardcoded. :(
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE95khi0iMVcrivHFQRAv+mAJkBvfLO2j06FAB7wUcGZZTpZyhKVgCfXqTs
CTLr7hnsV7dYc2U0lLbj9/o=
=D15H
-----END PGP SIGNATURE-----
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list