amuck-landowner

Spamming hosting clients

Francisco

Company Lube
Verified Provider
Using putty.exe, if I enter this short script 

grep cwd /var/log/exim_mainlog | grep -v /var/spool | awk -F"cwd=" '{print $2}' | awk '{print $1}' | sort | uniq -c | sort -n
Going through the customers files isn't kosher and should never been seen as a 'good idea'.

If you don't want to suspend the customer, then just block DST port 25 from their IP addresses. If they only have a couple, you can do like

Code:
iptables -A FORWARD -p tcp --dport 25 -s IP -j DROP
Francisco
 
Last edited by a moderator:
Top
amuck-landowner