Messages Stuck in the system...

Ritchie P. Fraser rpf at marinesoftware.co.uk
Tue Jun 11 17:20:11 IST 2013


Hi,
I have a CentOS 6.4 box with exim 4.80.1-1 / MailScanner 4.84.5-3 /
Baruwa 2.0/ clamav 0.97.8-1 / spamassassin 3.3.1-2.
Set up like this...

              CentOS 6.4                                               Windows SBS
Internet ---> THELMA (Wash eMail) ---> LOUISE
                                                  exim/mailscanner/                           MS Exchange Server
                                                  clam/spamassassin

My simplistic understanding of the way this process works is...

1 - Internet
      |
2 - exim(1) --- incoming mail placed in /var/spool/exim.in/input
      |
3 - MailScanner  --- should pick up mail and manage scanning clam/spamassassin
      |
4 - MailScanner  --- Clean eMail should be placed in /var/spool/exim/input
      |
5 - exim(2) --- picks up washed mail and delivers to smarthost LOUISE
      |
6 - MS Exchange --- delivers mail to end users
      |
7 - End Users

I have telnet'ed onto the box and created some mail messages. They all seem
to be stuck in the /var/spool/exim.in/input directory Between steps 2 and 3 above.

If I try to purge / delete / expunge the mail from the queue with

"exim -qff"

yields the following in the

2013-06-11 16:49:18 Start queue run: pid=11415 -qff
2013-06-11 16:48:38 1UmMnb-0001VC-AU Spool file is locked (another process is handling this message)
...
2013-06-11 16:48:38 1UmN0o-0001br-Cl Spool file is locked (another process is handling this message)
2013-06-11 16:48:38 End queue run: pid=11274 -qff

How do I find out what process is stuck?

Kind Regards,
Ritchie Fraser
Systems Administrator

T : +44 (0) 1304 840506
F : +44 (0) 1304 840075
W : http://www.marinesoftware.co.uk

Marine Software Limited
Planned Maintenance, Stock Control, Project (Refit) Management, Purchasing,
Safety and ISM Document Management systems for the Marine Industry since 1991.
---------------------------------------------------------------------------------------------------------------------------
Unless otherwise agreed expressly in writing by Marine Software Limited, This communication and attachments are to be treated as confidential and the information in it may not be used or disclosed except for the purpose for which it was sent. If you are not the intended recipient of this communication you should notify the sender immediately, then destroy it without copying, disclosing or otherwise using its contents. Marine Software Limited. Registered in England & Wales. No 2576494 Registered Office. 4 Ozengell Place, Eurokent Business Park, Ramsgate. Kent. United Kingdom. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20130611/a38c3b2d/attachment.html 


More information about the MailScanner mailing list