A simple script that will notify you via email and through the iptables block ip and account responsible for sending spam. This script works in servers running the MTA (message transfer agent) exim.
Copy all files to /root/scripts/ and add to the cron tasks in your server, the following command:
/bin/bash /root/scripts/checkSpam.sh
The time will run can be what you want.
@RafaelSoufraz
Want to contribute to the project? Feel free! I am just beginning and I need help. :)
Send me an email and we will talk. [email protected]
Found a bug? Please notify me. [email protected]
I will be extremely grateful.