I'm running Ubuntu with POSTFIX and I have spam mail continually trying to be sent out. I have blocked it all from the email server that they are going out on and now they are just continually being queued up. The server is running php/mysql with a number of websites on it. How can I tell where the messages are coming from? ie. from a php file on the server being executed or where?
example of mailq
2A8CA2D447 444542 Wed Feb 29 09:07:27 email@example.com (delivery temporarily suspended: lost connection with emailserver[emailserverip] while receiving the initial server greeting) firstname.lastname@example.org
Any help would be appreciated