<br>It does seem as though the problem begins when MailScanner disposes of a message.&nbsp; Maybe someone could clarify the process whereby Sendmail picks up the message and decides to deliver it (locally or relay or whatever.)
<br><br>It doesn&#39;t look like a DNS issue.&nbsp; We&#39;ve got a local resolver (that has a PTR record for the machine&#39;s IP) and a backup resolver.&nbsp; I&#39;ve done a number of DNS tests and haven&#39;t been able to produce an error there.
<br><br>On other systems everything happens so quickly that it&#39;s hard to see what happens but does it resemble this:<br>&nbsp;- MailScanner finds message in <a href="http://mqueue.in">mqueue.in</a><br>&nbsp;- MailScanner processes message and dumps qf/df into mqueue
<br>&nbsp;- Sendmail daemon periodically scans mqueue<br><br>or:<br>&nbsp;- MailScanner finds message in <a href="http://mqueue.in">mqueue.in</a><br>&nbsp;- MailScanner processes message and spawns a sendmail process for delivery<br><br>
<br>What are the implications of the &quot;Delivery Method&quot; queue vs. batch option on the above?<br><br>Thanks for the input!<br><br>-Corey<br><br><br><br><br><div><span class="gmail_quote">On 8/1/07, <b class="gmail_sendername">
Scott Silva</b> &lt;<a href="mailto:ssilva@sgvwater.com">ssilva@sgvwater.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Corey McFadden spake the following on 7/31/2007 9:46 PM:<br>&gt;<br>&gt; Guys,<br>&gt;<br>&gt; We&#39;re experiencing an issue on one of our boxes where messages (a good<br>&gt; percentage) are hung in /var/spool/mqueue after being processed by
<br>&gt; MailScanner.&nbsp;&nbsp;Even those to be delivered locally will sit for<br>&gt; (sometimes) hours until they&#39;re finally delivered.<br>&gt;<br>&gt; I&#39;ve never seen this behavior before and something is definitely awry.
<br>&gt;<br>&gt; Here&#39;s the environment:<br>&gt;<br>&gt; This is CentOS release 4.5 (Final)<br>&gt; This is Perl version 5.008008 (5.8.8)<br>&gt;<br>&gt; This is MailScanner version 4.61.7<br>&gt;<br>&gt; Executing &#39;sendmail -q -v&#39; WILL process the stuck messages but can take
<br>&gt; quite a long time to run because it will try to deliver everything<br>&gt; queued in a linear fashion.<br>&gt;<br>Since it is in mqueue and not <a href="http://mqueue.in">mqueue.in</a>, mailscanner is pretty much out of the
<br>loop. Check if you have a FQDN that resolves properly as this will choke<br>sendmail quickly. Also try a local caching nameserver, as sendmail might be<br>taking a long time to resolve delivery addresses.<br><br>--<br>
<br>MailScanner is like deodorant...<br>You hope everybody uses it, and<br>you notice quickly if they don&#39;t!!!!<br><br>--<br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info
</a><br><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br><br>Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting
</a><br><br>Support MailScanner development - buy the book off the website!<br></blockquote></div><br>