Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check if server is sending out spam?

I checked my IP address today because I was getting bounced back emails and I see it has been blacklisted on a few lists. I only use my website to send out customer emails and no newsletter emails; so I don't send many emails out.

I don't know why my dedicated IP address would be blacklisted; is there a way to check my server running Plesk to see if someone is using my IP address to spam?

Thank you!

like image 673
olimits7 Avatar asked Nov 06 '13 23:11

olimits7


People also ask

What is Server spam?

An email spam server is a mail server that uses an email filtering solution to increase the server´s spam detection rate and reduces an organizations exposure to email threats such as phishing, malware, and ransomware.


1 Answers

prints destination of all email which sent from your server:

 cat  /var/log/maillog | grep  'to=<[a-z0-9_\.-]\+@[\da-z\.-]\+\.[a-z\.]\{2,6\}>' -o
like image 81
Saman Mohamadi Avatar answered Oct 04 '22 03:10

Saman Mohamadi