Mailscanner generated duplicate message.
Alex Broens
ms-list at alexb.ch
Mon Dec 24 09:06:48 GMT 2007
On 12/24/2007 4:54 AM, Mark Sapiro wrote:
> Mark Sapiro wrote:
>> I went through the maillog files and I found 33,469 MailScanner Requeue
>> messages. In the first 10,466 (from Nov 25 through Dec 11, 04:04)
>> there were no apparent dups. In the remaining log entries, I found 8
>> potential duplication incidents, 4 of which involved new batches with
>> multiple messages waiting for a total of 15 potential duplicates.
>>
>> I have reviewed what I did on Dec 10-11, and I think it is likely that
>> at that time I stopped and started Postfix without restarting
>> MailScanner. If that could cause this, then I think that is likely to
>> be the reason. I have since stopped both Postfix and MailScanner and
>> restarted MailScanner only and let it start Postfix.
>>
>> I can provide log segments from the above mentioned 8 incidents if they
>> would be of interest. OTOH, perhaps I should just monitor for a few
>> days to see if the proper startup of Postfix/MailScanner has 'fixed'
>> the issue.
>
>
> I spoke too soon. In scanning the maillog files, I was only remembering
> the last 4 queue ids seen in Requeued: messages. It turns out that
> when for example, a Mailman list sends 200+ messages at once, there
> can be duplicates separated by many more than 3 intervening Requeued:
> entries. I rescanned the logs and found more dups. In particular, I
> found one from this afternoon after I had stopped Postfix and
> Mailscanner and restarted MailScanner, so that is apparently not the
> reason for the duplication.
probably totally irrelevant yet got a hunch...
what are your settings in MailScanner.conf for
Queue Scan Interval
Max Unscanned Messages Per Scan
Max Unsafe Messages Per Scan
Could it be you're seeing a race condition between scanning threads?
Alex
More information about the MailScanner
mailing list