How to check my linux server isn't spamming

I'm worried about dodgy php scripts or other malicious software on my linux server sending out spam. Or maybe I left an open relay

What are the ways to check I'm not sending any spam out?


One of the easiest ways is to check your /var/log/maillog (default location) to see if it's sending out mail that you're not expecting.


I've used abuse.net in the past to check that my server is not an open relay.

Not used it for a while though, but gotta be worth a quick test if you're worried/unsure.