LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-24-2010, 12:06 AM   #1
anctop
Member
 
Registered: Feb 2010
Posts: 99

Rep: Reputation: Disabled
limiting POP3/IMAP access frequency


Hi,

My server listens to POP3/IMAP requests. Some users have configured their mailers with high checking frequencies, say once every minute, such that the system logs are full of entries with no significance at all.

I'd like to ask if there is a way to limit the per IP frequency of POP3/IMAP access ?

I'm using "xinetd" to wrap the "ipop3d" and "imapd" which come with the Alpine package.


Best regards,
anctop
 
Old 10-11-2010, 03:19 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by anctop View Post
My server listens to POP3/IMAP requests. Some users have configured their mailers with high checking frequencies, say once every minute, such that the system logs are full of entries with no significance at all. I'd like to ask if there is a way to limit the per IP frequency of POP3/IMAP access ? I'm using "xinetd" to wrap the "ipop3d" and "imapd" which come with the Alpine package.
See "per_source" in 'man xinetd.conf' or iptables "limit" module 'iptables --help -m limit'?
 
Old 10-12-2010, 01:57 AM   #3
anctop
Member
 
Registered: Feb 2010
Posts: 99

Original Poster
Rep: Reputation: Disabled
Thanks for the information, but they do not help for my case.

The "per_source" of xinetd, or the "connlimit" of iptables, only limits the number of concurrent connections. This has already been implemented, but I'm looking for a way to limit the hit frequency of each client.

The "limit" of iptables seems to limit the overall rate, not counting per IP. My system serves quite many users. Most of the clients are properly configured except for a few ones, therefore I don't want to implement a global rate limit which may also affect those well-behaved users.
 
Old 10-12-2010, 03:11 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by anctop View Post
The "limit" of iptables seems to limit the overall rate, not counting per IP.
I meant to write "recent", not "limit".
 
1 members found this post helpful.
Old 10-12-2010, 07:01 PM   #5
anctop
Member
 
Registered: Feb 2010
Posts: 99

Original Poster
Rep: Reputation: Disabled
I think this is what I'm looking for.
Thank you very much.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pop3,imap dev_dks Linux - Networking 1 09-18-2006 03:01 AM
Pop3/imap jarrell Linux - General 6 07-15-2006 01:02 AM
courier imap can't auth. imap and pop3 adrianmak Linux - Software 1 12-11-2005 04:22 PM
limiting page load frequency with a perl cgi script Metroid Programming 0 12-30-2004 10:33 PM
imap and pop3 won't start cmritter Linux - Networking 9 06-20-2003 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration