Block spam email from my server.
Spammers put some php scripts on my server and It sent out 92552 emails.
I tried scanning this file - Removed -
It did not detect any malware. Even Maldetect did not.
I have an idea to block this spam. I don't know if it will work. Since this spamming scripts add a random username @ mydomain.com.
So is there any way I can block the email if its not on the whitelist of usernames?
For e.g. block anything that is not support @ mydomain.com and account @ mydomain.com.
Is this possible? Is there any other way to block this scripts?
-
Try this script to find the exact location of the spamming scripts : awk '{ if ($0 ~ "cwd" && $0 ~ "home") {print $3} }' /var/log/exim_mainlog | sort | uniq -c | sort -nk 1
0
Please sign in to leave a comment.
Comments
2 comments