<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body>
<br>
<br>
Peter Peters wrote:<br>
<blockquote cite="mid5utef0tia0v37t1a74mjf80u96t31lgejf@4ax.com"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">Do they stay in the Q permanently or do you mean that they are delayed for a
very very long time?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I have had some files stay there for months.

When I did mailq -OQueueDirectory=/var/spool/mqueue.in they all appeared
locked (* after the QueueID). And also a number of incomplete pairs. The
locked pairs seemed to come from crashed sendmail processes.

What I did to solve this was to kill the incoming sendmail (sendmail:
accepting connections) wait for MS to process everything he could. Then
you watch the mail log like this:
tail -f /var/log/mail | grep -i waiting
You will see the number going down but not to 0. The last number is
about the same as the mailq command shows and it is the total number of
locked pairs.

At that moment you know there are no more "real" messages in the
incoming queue and you can remove all files from /var/spool/mqueue.in.
After that just restart MS.

  </pre>
</blockquote>
Thanks Peter,<br>
<br>
Several messages are not transferred to the destination, I suposse is
due to the crashed sendmail processes. <br>
<br>
The questions here are: Why sendmail crashes?&nbsp; How can you solve the
sendmail crashing problem?<br>
<br>
<br>
<div class="moz-signature">Saludos,<br>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title></title>
<span style="font-family: arial narrow;">Diego M. L&oacute;pez <br>
</span><span style="font-family: arial narrow;"><small><br>
</small></span>
</div>
</body>
</html>
-------------------------- MailScanner list ----------------------<br>
To leave, send    leave mailscanner    to <a href="mailto:jiscmail@jiscmail.ac.uk">jiscmail@jiscmail.ac.uk</a><br>
Before posting, please see the Most Asked Questions at<br>
<a href="http://www.mailscanner.biz/maq/">http://www.mailscanner.biz/maq/</a>     and the archives at<br>
<a href="http://www.jiscmail.ac.uk/lists/mailscanner.html">http://www.jiscmail.ac.uk/lists/mailscanner.html</a><br>