This might be a possible symptom of the issue previously reported with mail to gmail hanging (given the target of the mail below): https://lists.exim.org/lurker/message/20220810.000245.edf27d60.en.html (it's a kernel bug - there is a workround until you can get onto a 5.18 kernel).
You should be able to see if this is only for mail going to gmail MX hosts, and also see other logged messages (as per the thread above) if this is the case. Graeme -----Original Message----- From: Exim-users <exim-users-bounces+graeme=chromosphere.co...@exim.org> On Behalf Of Ronaldo Luiz via Exim-users Sent: 26 October 2022 05:21 To: exim-users@exim.org Subject: [exim] Message is locked (another process is handling this message) Hi Sirs, I'm getting messages locked on Exim Queue for a lot of hours, usually for days and I need to restart Exim to clean the queue. Below is an example of a message that is locked for 16 hours. What I have to do in order to setting a timeout and send a message or alert to the sender? Many thanks in advance. Ronaldo Luiz > WHM Mail Queue Manager Oct 25, 2022, 8:50 AM sen...@domain.com.xx 1onISA-0006hi-N9 recei...@gmail.com 41 KB Queued > WHM Delivery Message LOG: MAIN cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1onISA-0006hi-N9 delivering 1onISA-0006hi-N9 LOG: skip_delivery MAIN Spool file for 1onISA-0006hi-N9 is locked (another process is handling this message) > exiwhat 25779 delivering 1onISA-0006hi-N9: waiting for a remote delivery subprocess to finish 25782 delivering 1onISA-0006hi-N9 to gmail-smtp-in.l.google.com [173.194.197.26]/NULL (condtriangu...@gmail.com) -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/ -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/