From: Corey H <cor...@alwaysdata.net>

> $ sudo tail -10000 /var/log/mail.log|grep **@**mail.com|wc -l
> 3544
>
> logs like this:
>
> Aug 15 19:54:10 mx dovecot: imap-login: Login: user=<**@**mail.com>,
> method=PLAIN, rip=**, lip=**, mpid=4151830, TLS,
> session=<UPotgLcfTOjYUzTN>
>
> How can I implement a Frequency Control on client connections to slow
> down his requests?

Is this a MacOSX client?  I think they have a habit of doing this when
doing global
mailbox searches.  Instead of doing a sane serial march through
mailboxes, it opens
up as many mailboxes as it can, then closes them when the IMAP server denies
then when they hit the max.

If Aki doesn't can't offer a solution, neither can I, but maybe you
can play around
with mail_max_userip_connections to stop them from swamping all your
connections.
You might have to resort to firewall or other general network controls
to actually rate limit
connections.

Joseph Tam <jtam.h...@gmail.com>
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to