Re: Limiting frequency of POP logins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On November 20, 2003 02:36 pm, Ed Wilts wrote:
> On Thu, Nov 20, 2003 at 06:30:02AM -0800, Pete Nesbitt wrote:
> > On November 19, 2003 09:11 pm, Pete Nesbitt wrote:
> > ....
> >
> > > Have a look in xinetd.d in the pop3 file (I don't have a mail server
> > > here, so I may be off on the file name). You can set a number if log
> > > related peramiters according to the man.
> > >
> > > Here are what you may want to look at:
> > > log_type  -this can log to a file (not via syslog) that you can control
> > > like fs quotas.
> > > log_on_success  -you can set the type of info to log (reduce clutter)
> > > log_on_failure  -as above
> > >
> > > If you really want to separate your inside pop logs and the outside pop
> > > logs, you could create a separate pop daemon (say pop_lan) run it on a
> > > different port and let it log via syslog. You may need to edit the
> > > /etc/services file as well (i know on Solaris if the service is not in
> > > the services file inetd won't start it.)
> >
> > I suppose /dev/null may be your file of choice for those entries :-)
>
> Nope. I gave it a valid file name, restarted xinetd, and the file was
> created.  It then happily continued logging to maillog and left my file
> empty.  Darn it all!
>
>         .../Ed


Hi Ed,
so syslog.conf may be causing probs. Mine has a (default) line in it:
# Log all the mail messages in one place.
mail.*                                                  /var/log/maillog

if you changed that to:
mail.crit  it should only log messages of critical or higher, so regular pop's 
would (should:) not get logged.
or I suppose you could change the target file there as well.

Just to clearify though, you don't want to log any mail messages?

Can you confirm you tried in pop3:
log_type  =  FILE  /tmp/mail (or whatever file)

This should not be that tough should it.
-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux