Alessio,
remote 1.2.3.4 { }
This isn't supported. You can only set the same max connection for all userips.
protocol imap { mail_max_userip_connections = 100 }
The conf above will act :
- 1.2.3.4's max connections will be set to 100 when using imap connection.
- 1.2.3.5's max connections will be set to 100 when using imap connection.
- and so on. Every connection to imap will have max connection limit, 100.
If you want to limit max connections only for a specific ip, you might want to do that on your firewall.
-----Original Message----- From: dovecot dovecot-bounces@dovecot.org On Behalf Of Alessio Cecchi Sent: Wednesday, April 14, 2021 5:39 AM To: Dovecot Mailing List dovecot@dovecot.org Subject: mail_max_userip_connections per remote IP not working
Hi,
I'm tryng to set a specific mail_max_userip_connections for a remote IP (webmail IMAP software), but it seems not working:
remote 1.2.3.4 { protocol imap { mail_max_userip_connections = 100 } }
and also this isn't working
remote 1.2.3.4 { mail_max_userip_connections = 100 }
I insert it at the end of 20-imap.conf file.
Is something wrong or is not supported?
I'm running dovecot 2.3.14.
Thanks
-- Alessio Cecchi Postmaster @http://www.qboxmail.it https://www.linkedin.com/in/alessice