Where to set maximum Postfix SMTP connections?

Discussion in 'Installation/Configuration' started by sagor, Jun 6, 2008.

  1. sagor

    sagor New Member

    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[30924]: statistics: max connection rate 99/60s for (smtp:66.195.246.52) at Jun 4 04:58:25
    Jun 4 05:01:57 website postfix/anvil[30924]: statistics: max connection count 51 for (smtp:66.195.246.52) 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?

    Thanks

    Steve
     
  2. falko

    falko Super Moderator

    You'd have to do this Postfix configuration manually. ISPConfig cannot do this.
     

Share This Page