I have a problem with emails on my server. Almost all emails have stopped being received or sent.
I have tried flushing the mailq using /usr/sbin/postfix flush but no luck. I think it is connected with the following strange emails appearing in the queue:
C24CAEEBD4F* 1047 Mon Apr 11 07:40:01 root@ip-XXX-XXX-XX-XX.ip.secureserver.net
root@ip-XXX-XXX-XX-XX.ip.secureserver.net
It appears that the entry above is trying to send an email to the server from the server (XXX-XXX-XX-XX= my IP). When the above items are in the mailq, the queue does not flush and no emails are sent or received.
The emails that I have put into the queue look like this:
3D30DEEBD97* 3282 Mon Apr 11 07:41:05 noreply@mydomain.com
recip@anothersite.com
When the queue only contains the emails I have put in, it works fine. I am using PHP Pear Mail to manage my emails which has been running fine up until now. I am also running Apache 2 (CentOS 5.5).
Does any one know what the strange entries in the mailq are and why they are in there?
Thank you,
Chris.
cat /var/log/mail.log | grep XXX-XXX-XX-XXwhere the Xs are the strange IPs. – Jonathan Ross Apr 11 '11 at 15:10cat: /var/log/mail.log: No such file or directory– Christopher Apr 11 '11 at 15:13