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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Marc Perkel
Päiväys:  
Vastaanottaja: Ryan Tracey
Kopio: Exim Mailing List
Aihe: 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.


>