How to add netowork ranges to Postfix Blacklist?

Discussion in 'ISPConfig 3 Priority Support' started by radim_h, Dec 15, 2014.

  1. radim_h

    radim_h Member HowtoForge Supporter


    i'm getting tons of spam from some IP ranges. How to add then all to blacklist
    format doens't work as you can see on picture...

    Is it Ok, that i can choose any server, even if it's not mailserver?

    Also, what is the difference between Recipient, Client, Sender Type?

    I suppose this blacklist has to move mail from selected IP addresses to Spam folder, or is there way ro reject emails within ISPConfig?
    First i wanted to do it by cidr function in postfix but it shuld be better from inside ISPC

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I dont think that amavis supprts network ranges there.

    The mailservers should be enough there, I'll change that in a future version.

    The options are described in the ispconfig manual. You can download it here as subscriber:

    as far as I know, its a hard blacklist.
  3. radim_h

    radim_h Member HowtoForge Supporter

    OK, thank you for info, i will go with then

    Just one more question, please,
    this is config from ISPconfig postfix part:
    smtpd_client_restrictions = check_client_access mysql:/etc/postfix/

    where will you put "cidr:/etc/postfix/client.cidr" with restricted IPs
    start, middle or end of smtpd_client_restriction ?

Share This Page