Emails stuck in mail queue.
AnsweredHi,
I have a VPS server with many websites on it, including mine, and as of this morning all emails sent to anyone on the server are stuck in the mail queue. If I try to deliver a message I get the following:
LOG: MAIN
cwd=/usr/local/cpanel/whostmgr/docroot 6 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -v -M 1s0KG7-000000007Pv-0VAt
delivering 1s0KG7-000000007Pv-0VAt
LOG: MAIN
Spool file 1s0KG7-000000007Pv-0VAt-D not found
There was a cpanel update yesterday but I don't know if that has caused the problem.
As it stands nobody is receiving emails sent to their email addresses.
Can anyone help?
Thanks in advance.
Phil.
-
do you happen to have MSFE installed?
we got this issue in like 10 servers, and had to update MSFE.
1 -
Hi,
not, that's not installed.
0 -
Can you check the Exim log directly to see what happens with that mail ID? That should give you more details about what is happening with the message.
grep 1s0KG7-000000007Pv-0VAt /var/log/exim_mainlog
Just make sure to remove any personal information from that result.
0 -
Hi,
thank you for your reply:
root [/]# grep 1s0KG7-000000007Pv-0VAt /var/log/exim_mainlog
2024-04-26 13:00:57 1s0KG7-000000007Pv-0VAt H=click.apptinium.com [194.169.172.27]:51548 Warning: "SpamAssassin as ******** detected message as NOT spam (4.5)"
2024-04-26 13:00:57 1s0KG7-000000007Pv-0VAt <= myah@*******.com H=click.********.com [194.169.172.27]:51548 P=esmtps X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no S=13989 id=20240426140243.379656F0C215AFEB@apptinium.com T="Complete with DocuSign: Revised Contract Agreement for p********@********.com" for *********@********.com
2024-04-26 13:00:59 cwd=/var/spool/exim/input 5 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -Mc 1s0KG7-000000007Pv-0VAt
2024-04-26 13:00:59 1s0KG7-000000007Pv-0VAt Spool file 1s0KG7-000000007Pv-0VAt-D not found
2024-04-26 13:01:37 cwd=/usr/local/cpanel/whostmgr/docroot 6 args: /usr/sbin/exim -C /etc/exim_outgoing.conf -v -M 1s0KG7-000000007Pv-0VAt
2024-04-26 13:01:37 1s0KG7-000000007Pv-0VAt Spool file 1s0KG7-000000007Pv-0VAt-D not found
root [/]# _Thats what was returned, the *'s are hiding personal info.
0 -
Interesting - as of this time I have only seen that error on servers where Mailscanner is installed, like what Jose Dieguez mentioned above.
If you try and send a new message right now while watching the queue with "tail -f /var/log/exim_mainlog" does it show the same behavior?
0 -
Yes - i just sent myself a message and it is now in the queue and I didn't receive it.
When I click on the view link under actions next to that message I get:
The system failed to locate the message with Message ID “1s0MjK-00000000Qil-2Zea” in the queue. The system may have delivered the message during the request process.
0 -
I've just gone into running processes and there is a process called mailscanner but I do not have that installed!
0 -
Ive deleted all instances I can find of mailscanner and that seems to have done the trick. I seem to remember trying to install it a few years ago but it failed and I just didn't bother.
How odd.
Thanks for your help anyway.
0 -
I'm glad that took care of things!
0 -
We had the same issue and like Jose Dieguez already said, the problem was outdated/old version of MSFE (Mail Scanner FrontEnd).
It's already documented in configserver's CHANGELOG and you can check it here:
https://download.configserver.com/CHANGELOG.txt
v5.08 - Added a new script [/usr/msfe/msreq.pl] that will requeue emails placed into the wrong exim split spool directory
0 -
This has now come back. I backed up the server from a backup when things were ok. I then deleted all and any reference to MFSE and things were ok. Mails were coming through fine and those in the mail queue were genuine frozen emails and the mailman queue was empty. Two hours later there are hundreds of mails in the MFSE Queue and the following is what I get when trying to send.
Has anyone any clue at all?
Thanks in advance.
LOG: MAIN cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1s2td5-000CjN-2N delivering 1s2td5-000CjN-2N LOG: MAIN == support@@@@@@@@@@@.com R=defer_router defer (-1): All deliveries are handled by MailScanner
0 -
It would be best to reach out to Mailscanner about this issue since it still seems to be controlling things on the machine.
0
Please sign in to leave a comment.
Comments
12 comments