Alexey Asemov (Alex/AT)
2017-Jul-02 07:53 UTC
Any way to limit number of active IMAP/POP3 sessions from a single user / per user?
Hello, Just wonder: is there any way in Dovecot to limit number of active IMAP/POP3 connections for a single user, not touching any other users? Basically, the situation is single user hammering servers by lots of POP3 connections from time to time, and limiting exactly one user could be good.
Aki Tuomi
2017-Jul-03 06:24 UTC
Any way to limit number of active IMAP/POP3 sessions from a single user / per user?
On 02.07.2017 10:53, Alexey Asemov (Alex/AT) wrote:> Hello, > > Just wonder: is there any way in Dovecot to limit number of active > IMAP/POP3 connections for a single user, not touching any other users? > Basically, the situation is single user hammering servers by lots of > POP3 connections from time to time, and limiting exactly one user > could be good.Easiest would be to use 2.2.29 or later and use policy server for it. With older version, I'm not sure if this is doable sensibly. Aki
Timo Sirainen
2017-Jul-03 06:29 UTC
Any way to limit number of active IMAP/POP3 sessions from a single user / per user?
On 3 Jul 2017, at 9.24, Aki Tuomi <aki.tuomi at dovecot.fi> wrote:> > > > On 02.07.2017 10:53, Alexey Asemov (Alex/AT) wrote: >> Hello, >> >> Just wonder: is there any way in Dovecot to limit number of active >> IMAP/POP3 connections for a single user, not touching any other users? >> Basically, the situation is single user hammering servers by lots of >> POP3 connections from time to time, and limiting exactly one user >> could be good. > > Easiest would be to use 2.2.29 or later and use policy server for it. > With older version, I'm not sure if this is doable sensibly.I think returning mail_max_userip_connections from userdb works.
Seemingly Similar Threads
- Any way to limit number of active IMAP/POP3 sessions from a single user / per user?
- Any way to limit number of active IMAP/POP3 sessions from a single user / per user?
- Any way to limit number of active IMAP/POP3 sessions from a single user / per user?
- Any way to limit number of active IMAP/POP3 sessions from a single user / per user?
- Active IMAP sessions per server?