<div dir="ltr"><br><br><div class="gmail_quote">2008/8/13 John Goggan <span dir="ltr">&lt;<a href="mailto:jgoggan@gmail.com">jgoggan@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have been using MailScanner with a sendmail configuration for years now.<br>
Today, I noticed that I had about 30 messages in my /var/spool/mqueue directory<br>
that had not been delivered -- some of which were over a month old. &nbsp;After some<br>
research, it appears that almost all of them were to server that do<br>
greylisting -- so all of these were the deferred messages.<br>
<br>
Basically, I don&#39;t see anything that would be watching mqueue for these<br>
messages and attempting to redeliver them. &nbsp;Should I have another queue runner<br>
for mqueue? &nbsp;We&#39;ve always run like this:<br>
<br>
One sendmail for incoming email that goes to <a href="http://mqueue.in" target="_blank">mqueue.in</a>:<br>
<br>
sendmail -bd -L sm-mta -OPrivacyOptions=noetrn -ODeliveryMode=queueonly -<br>
OQueueDirectory=/var/spool/<a href="http://mqueue.in" target="_blank">mqueue.in</a><br>
<br>
And one sendmail queue runner for local/clientmqueue:<br>
<br>
sendmail -Ac -q15m -L sm-cm<br>
<br>
We use Mailscanner with the &quot;Delivery Method = batch&quot; setting, so my<br>
understanding is that that means that MailScanner will take care of the<br>
messages after they get to mqueue.<br>
<br>
This works fine -- except where there is a problem. &nbsp;It appears that nothing<br>
ever retries them. &nbsp;Is that correct?<br>
<br>
As a solution, I&#39;ve added another sendmail queue runner for mqueue:<br>
<br>
sendmail -q15m -L sm-mq<br>
<br>
So, I now have three sendmails: one daemon listening on 25 and putting mail in<br>
<a href="http://mqueue.in" target="_blank">mqueue.in</a>, one queue runner for local mail in clientmqueue, and one queue<br>
runner for mail that might hang out in mqueue if it doesn&#39;t go the first time<br>
MailScanner tells it to go.<br>
<br>
Is that how it should be? &nbsp;Almost all of the documentation or guides that I<br>
could find for setting up MailScanner with sendmail don&#39;t seem to mention that<br>
second queue runner for mqueue. &nbsp;And, as I said, I ran for years without it<br>
(and likely missed sending some delayed emails now and then that were never<br>
retried). &nbsp;I just want to make sure that I&#39;m not missing something.<br>
<br>
Thanks!<br>
<br>
&nbsp;- John...</blockquote><div><br>Yes, you need the three instances of sendmail, a queue runner trying to send emails that mailscanner batch didn&#39;t. Here in Latinamerica is very common to have conectivity problems so, the third sendmail will watch your back.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<font color="#888888"><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" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</font></blockquote></div><br></div>