Discussion:
Messages Stuck in the system...
Ritchie P. Fraser
2013-06-11 16:20:11 UTC
Permalink
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
Martin Hepworth
2013-06-12 13:04:52 UTC
Permalink
you need two exim queues and MailScanner pickup from 1st queue processes
and drop clean email into the 2nd.

http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:exim:installation

so MailScanner is the glue if you like between two MTA queues, the 2nd does
the local delivery in your case to the MS-Exchange system
--
Martin Hepworth, CISSP
Oxford, UK
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.*
** **
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20130612/b1886351/attachment.html
Loading...