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

Top Pagina
Delete this message
Reply to this message
Auteur: Marc Perkel
Datum:  
Aan: Ryan Tracey
CC: Exim Mailing List
Onderwerp: 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.


>