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

    Hello,

    i'm getting tons of spam from some IP ranges. How to add then all to blacklist
    format 94.242.202.0/24 doens't work as you can see on picture...
    http://mixx.org/pic/ispc/blacklist.jpg

    Is it Ok, that i can choose any server, even if it's not mailserver?
    http://mixx.org/pic/ispc/blacklist-server.jpg

    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 http://www.postfix.org/cidr_table.5.html but it shuld be better from inside ISPC

    Ragards
    RH
     
  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:

    http://www.howtoforge.com/download-the-ispconfig-3-manual

    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 http://www.postfix.org/cidr_table.5.html then

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

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

Share This Page