Re: [Exim] Exim 3.35 -> blocking IP address

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Perkel
Date:  
À: Ryan Tracey
CC: Exim Mailing List
Sujet: Re: [Exim] Exim 3.35 -> blocking IP address
As an alternative - if you want a stronger reject you can run this bash
script:

if [ -f $BLACKLIST ]; then
   for ipaddress in $( grep -v ^# $BLACKLIST | awk '{print $1}' ); do
      iptables -v -A INPUT -s $ipaddress -j DROP
   done
fi


$BLACKLIST is a lit of IP addresses or host names. This will lock out
the IPs from talking to your server entirely.


>