My Linux server is sending out large amounts of spam and so far the only information I have to identify where this is coming from is the following:
lsof -f | grep smtp ---- results
perl 21655 apache 54u IPv4 1795658 0t0 TCP (my.server.here):58354->smtp-in.orange.fr:smtp (ESTABLISHED)
There are about 4-5 of these sometimes to different servers.
Additionally: My phpmail log is not reporting any mail sending, yet our server is definately sending out large amounts of spam.
How can I identify the exact location of the script making these connections?