Where to set maximum Postfix SMTP connections?
I'm seeing a lot of spammer attackes trying to get into my SMTP system, and I notice that Postfix is allowing up to 51 connections.
Jun 4 05:01:57 website postfix/anvil: statistics: max connection rate 99/60s for (smtp:220.127.116.11) at Jun 4 04:58:25
Jun 4 05:01:57 website postfix/anvil: statistics: max connection count 51 for (smtp:18.104.22.168) at Jun 4 04:58:24
I'd like to reduce this setting to about 5 or 10, considering this web server is just for my private web sites. I see Postfix does have some settings like:
client_connection_rate_time_unit = 15s
smtpd_client_connection_count_limit = 30
smtpd_client_connection_rate_limit = 30
But I see no such entries in my main.cf at the moment. Is there a way to limit connections via ISPConfig? Or do I have to add these to my main.cf file manually. Is there any other way of ISPConfig to control incoming mail connection limits?