Re: Limiting frequency of POP logins

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

 



On November 19, 2003 06:53 pm, Ed Wilts wrote:
> On Wed, Nov 19, 2003 at 06:05:50PM -0800, Pete Nesbitt wrote:
> > On November 19, 2003 12:50 pm, Jason Dixon wrote:
> > > On Wed, 2003-11-19 at 14:47, j.travis wrote:
> > > > I have a user who has apparently set their e-mail client to check
> > > > e-mail from the POP server (running sendmail) once a minute.  I am
> > > > wondering if I can place a limit on the frequency of logins somehow?
> >
> > I agree with Jason. I was on the client end of the exact thing. Our
> > parent company helpdesk sent me an email saying that I was poping once 
> > minute and it was too much so I should set my client to every 10 minutes.
> > They claimed i was using too much resources on the (old Mac FirstClass
> > email) server. This request actually started a bit of a ripple thru our
> > IT, and relations between the 2 entities suffered. By the way, I did need
> > to check my mail that often as I was dealing with very timely issues.
> > Anyway, as the thread ends up going to, excessive log entries are best
> > dealt with in the logging facility, not at the user end.
>
> So how can we just turn ipop logging off?  It uses the mail syslog
> facility and I don't want to turn all of the mail logging off, just the
> ipop connections.  There are currently 3 entries per connection - the
> pop3 service connection, the user login, and the user logout.  Since my
> own pop connections are totally within my firewall and restricted to my
> wife's machine, I don't really need to see them.  I've experimented with
> the xinetd logging without luck, and short of patching the pop server to
> not log at all or to a different facility I'm not sure where else too
> look.
>
> Thanks,
>         .../Ed

Ed,
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.)

Does that help?
-- 
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