Problem with Mailscanner after exim update
Hello. We have problems with Mailscanner, after last update of exim to version 4.98.1 #2 built 21-Feb-2025 08:10:35.
The outgoing e-mails were not sent and keep stayed in the mail queue.
We found that the problem is a Mailscanner, which version was 5.04, according to this issue https://support.cpanel.net/hc/en-us/articles/23176466587415-MailScanner-issues-in-cPanel-version-120.
Aftrer update of MailScanner, new e-mails get delivered, but previous are still in the queue. If I made an attempt to resent them the following error appears:
2025-02-25 11:39:07 1tmrH3-000000005CY-0CbP Spool file 1tmrH3-000000005CY-0CbP-D not found
Is there a way mails in the queue to be resent.
exim -bp does not show mails, which I can see in the WHM- Mail Queue Manager
Thank you.
-
Hey there! If you can see the message in WHM >> Mail Queue Manager can you use the Delivery option here to see if that will force them to be delivered?
https://docs.cpanel.net/whm/email/mail-queue-manager/#deliver-messages
0 -
>exim -bp does not show mails, which I can see in the WHM- Mail Queue Manager
When using MailScanner you need to use command:
/usr/sbin/exim -bp -C /etc/exim_outgoing.conf0 -
Unfortunately, delivery options via WHM >> Mail Queue Manager does not worked and returns same error about missing spool file.
The solution was to:
-find all e-mail IDs in exim_mainlog, which returns the error
-find the files with e-mail ID in /var/spool/exim/input/some_subfolder/
-stop exim service
- move found files one level upper into /var/spool/exim/input/
-start exim and files which are in the input dir are processed. Do this on batches to avoid blocking of mail server on some provider.
0 -
After updating Exim, MS and MSFE, run the script /usr/msfe/msreq.pl - this will fix Exim split spool directories and you can then force delivery of old mails with exim -qff -v -C /etc/exim_outgoing.conf
0
Please sign in to leave a comment.
Comments
4 comments