Martin Abrahamsson
2011-Dec-22 15:33 UTC
[Dovecot] Limit maximum connections for user/IP on proxy
Hi, Is it possible to limit the maximum number of IMAP connections allowed for a user from each IP address, on the proxy server instead of on the mail store server? mail_max_userip_connections works well when the client is connection to the mail store without proxy, but when using proxies the POP/IMAP server will register the remote IP (rip) as the proxy server's IP address - thus a low limit will be reached quite easily. Thanks -- Martin Abrahamsson
Timo Sirainen
2011-Dec-22 15:37 UTC
[Dovecot] Limit maximum connections for user/IP on proxy
On 22.12.2011, at 17.33, Martin Abrahamsson wrote:> mail_max_userip_connections works well when the client is connection to the mail store without proxy, but when using proxies the POP/IMAP server will register the remote IP (rip) as the proxy server's IP address - thus a low limit will be reached quite easily.See login_trusted_networks setting.
Seemingly Similar Threads
- Dovecot 2.2.27 proxy - enforcing per client IP connection limits
- Dovecot 2.2.27 proxy - enforcing per client IP connection limits
- post-login script and original remote ip in proxy mode
- Dovecot 2.2.27 proxy - enforcing per client IP connection limits
- dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections)