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

Pàgina inicial
Delete this message
Reply to this message
Autor: Marc Perkel
Data:  
A: Ryan Tracey
CC: Exim Mailing List
Assumpte: 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.


>