Hi.

I have courier-mta running with IMAP access.

The IMAP access comes from two sources, some regular clients and a webmail 
server (Squirrelmail).

Recently, I had the problem that the webmail service was broken du 
to "MAXPERIP" setting in imapd config file. It's clear, the access comes from 
the same host for all users.

After increasing this value, I ran into another problem: Thunderbird (maybe 
other clients too) always tries to DoS an IMAP server. When 10 connections 
are allowed, thunderbird will use them all.
So when a user did some ugly operation (don't know what he did) on his trash 
mailbox, there were 10 imap processes each consuming 10% of the CPU. This 
forces the system scheduler to serve this user's stuff all the time.


So I have to decrease the limit per IP to stop this behaviour. That will break 
Webmail access.

So there are two questions:
* Is there any chance to limit the parallel connections per user account 
  (system-user or imap-user)? system-wide or individually...
* Is there any way to set exceptions for the MAXPERIP limit. So hat I can set
  something different for the webmail server.


If none of these is true: Would that be hard to implement?

cu, Bernd

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to