Duplicated messages

Jeremy McSpadden jeremy at fluxlabs.net
Tue Jul 28 14:59:01 UTC 2015

It's probably looping/crashing mailscanner. Drop MS into debug mode and watch logs.

Jeremy McSpadden | Flux Labs
Local - 850-250-5590x501<tel:850-250-5590;501> | Mobile - 850-890-2543<tel:850-890-2543>
Fax - 850-254-2955<tel:850-254-2955> | Toll Free - 877-699-FLUX<tel:877-699-FLUX>
Web - http://www.fluxlabs.net<http://www.fluxlabs.net/>

On Jul 28, 2015, at 9:54 AM, Mark Adams <mark at workshopit.co.uk<mailto:mark at workshopit.co.uk>> wrote:

An update to this, the "2 or 4" duplicates showing in the exim log look like they are actually just separate deliveries to other addresses, so not duplicates. In 1 example there is a single email with 2 recipients (2 entries in exim log) that has over 1500+ entries in the mailcleaner DB. It looks like this email hasn't been delivered to the recipient at all either.

On 28 July 2015 at 15:14, Mark Adams <mark at workshopit.co.uk<mailto:mark at workshopit.co.uk>> wrote:
Hi All,

If anyone could provide advice that would be great. Running Debian Wheezy Mailscanner 4.79.11-2.2

Our incoming dir filled up just before the weekend so we didn't see the issue for a couple of days. Normally we would just shut down mailcleaner and delete the dir then start it up again and all would be ok. However on this occasion, the root partition also become full because of the mysql DB (it got to 14G in 2 days..).

For some reason everything started duplicating. I can see lots of incoming messages in the exim logs with duplication (2 or 4 of what looks like the same email) but in the mailscanner database there is hundreds of each email listed (apparently there was over 9 million messages delivered on 1 day compared with the server average of about 1500!)

It seems like some sort of loop, but afaik nothing specific was changed in the config apart from the fact incoming became full. Space has been cleared on the root partition and incoming, and everything appears to be running as normal right now.

Any advice on debugging this would be much appreciated, also, how best should I clear out the DB of all the dupes?


MailScanner mailing list
mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20150728/7eb46cf9/attachment.html>

More information about the MailScanner mailing list