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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marc Perkel
Datum:  
To: Ryan Tracey
CC: Exim Mailing List
Betreff: 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.


>