<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Shameless jab at Mailwatch: in Mailborder I would check the box and click Resend  :)<div class=""><br class=""></div><div class="">If they are quarantined as queue files and you are using Postfix, because that is what I know really well, you simply copy the message to /var/spool/postfix/incoming and the MTA will pick it up. If you have like 1100 of them, you will probably need to run a query on the DB to get the message IDs and create a script that cycles through them. </div><div class=""><br class=""></div><div class="">If you are using sendmail or exim, I have no idea. Someone else on the list would have to offer their expertise. Also, if you did not quarantine the items as queue files (MailScanner setting) then you are going to have to research that as well. </div><div class=""><br class=""></div><div class=""><br class=""><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">-</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Jerry Benton</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://www.mailborder.com" class="">www.mailborder.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jul 28, 2015, at 12:07 PM, Mark Adams <<a href="mailto:mark@workshopit.co.uk" class="">mark@workshopit.co.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Jerry,<div class=""><br class=""></div><div class="">If you wanted to pull a bunch of items from the quarantine from the command line and re-process them through Mailcleaner, how would you do that?</div><div class=""><br class=""></div><div class="">Regards,<br class="">Mark</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 28 July 2015 at 17:00, Jerry Benton <span dir="ltr" class=""><<a href="mailto:jerry.benton@mailborder.com" target="_blank" class="">jerry.benton@mailborder.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">I am not sure on what parameters Mailwatch calls and logs “other bad content”.  The MailScanner setting is "Notify Senders of Other Blocked Content”. Mailwatch could be calling a trigger of a spam RBL “other blocked content” for all we know. You are going to have to follow the below suggestion and enable debug or see if you can get an idea from /var/log/maillog.<span class=""><br class=""><div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><br class="">-</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">Jerry Benton</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><a href="http://www.mailborder.com/" target="_blank" class="">www.mailborder.com</a></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><br class=""></div><br class="">
</div>
<br class=""></span><div class=""><blockquote type="cite" class=""><span class=""><div class="">On Jul 28, 2015, at 11:49 AM, Mark Adams <<a href="mailto:mark@workshopit.co.uk" target="_blank" class="">mark@workshopit.co.uk</a>> wrote:</div><br class=""></span><div class=""><div dir="ltr" class=""><span class="">Of course, apologies - I'm using Mailwatch. Any advice on how to most efficiently pull things out of quarantine via command-line? (note they are stored as "message" rather than queue items, that would be too easy..) <div class=""><br class=""></div></span><div class=""><span class="">I don't have Archive enabled, everything has gone in to the quarantine because of this "Other Bad Content Detected"<br class=""></span><div class="gmail_extra"><br class=""><div class="gmail_quote"><span class="">On 28 July 2015 at 16:43, Jerry Benton <span dir="ltr" class=""><<a href="mailto:jerry.benton@mailborder.com" target="_blank" class="">jerry.benton@mailborder.com</a>></span> wrote:<br class=""></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><span class="">By the way, there is no web interface in the MailScanner package. There are 3rd party products of course (I created one myself) but those questions would need to be directed to those support forums or mailing lists.</span><span class=""><br class=""><div class="">
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><br class="">-</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">Jerry Benton</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><a href="http://www.mailborder.com/" target="_blank" class="">www.mailborder.com</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><br class=""></div><br class="">
</div>
<br class=""></span><div class=""><div class="h5"><div class=""><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Jul 28, 2015, at 11:34 AM, Mark Adams <<a href="mailto:mark@workshopit.co.uk" target="_blank" class="">mark@workshopit.co.uk</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra">How do I try send them through again? At the moment they are just "message" in the quarantine, and if I try open them through the web interface it times out, I guess because its trying to open each one of the dupes?</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">"Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/mailscanner/functions.php on line 1022"</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 28 July 2015 at 16:31, Jeremy McSpadden <span dir="ltr" class=""><<a href="mailto:jeremy@fluxlabs.net" target="_blank" class="">jeremy@fluxlabs.net</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="auto" class="">
<div class="">Yup. Turn on debug and watch it pass through. Last time I saw these it was a taint issue .. Which I am assuming has been fixed by now. <span class=""><br class="">
<br class="">
<div class="">
<div class=""><span style="background-color:rgba(255,255,255,0)" class="">--<br class="">
Jeremy McSpadden | Flux Labs<br class="">
Local - <a href="tel:850-250-5590;501" target="_blank" class="">850-250-5590x501</a> | Mobile - <a href="tel:850-890-2543" target="_blank" class="">850-890-2543</a> <br class="">
Fax - <a href="tel:850-254-2955" target="_blank" class="">850-254-2955</a> | Toll Free - <a href="tel:877-699-FLUX" target="_blank" class="">877-699-FLUX</a><br class="">
Web - <a href="http://www.fluxlabs.net/" target="_blank" class="">http://www.fluxlabs.net</a></span></div>
<div class=""><br class="">
</div>
</div>
</span></div><div class=""><div class="">
<div class=""><br class="">
On Jul 28, 2015, at 10:20 AM, Mark Adams <<a href="mailto:mark@workshopit.co.uk" target="_blank" class="">mark@workshopit.co.uk</a>> wrote:<br class="">
<br class="">
</div>
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">Hi Jeremy,
<div class=""><br class="">
</div>
<div class="">Are you saying that something in these messages is crashing Mailscanner? Everything seems to be OK right now, but all 70 of the emails (all different types and from different servers) are now in the quarantine because of "Other Bad Content Detected" with
 the report "MailScanner: Message attempted to kill MailScanner". It seems it succeeded...<br class="">
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On 28 July 2015 at 15:59, Jeremy McSpadden <span dir="ltr" class="">
<<a href="mailto:jeremy@fluxlabs.net" target="_blank" class="">jeremy@fluxlabs.net</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto" class="">
<div class="">It's probably looping/crashing mailscanner. Drop MS into debug mode and watch logs. </div>
<div class=""><br class="">
<div class="">
<div class=""><span style="background-color:rgba(255,255,255,0)" class="">--<br class="">
Jeremy McSpadden | Flux Labs<br class="">
Local - <a href="tel:850-250-5590;501" target="_blank" class="">850-250-5590x501</a> | Mobile - <a href="tel:850-890-2543" target="_blank" class="">850-890-2543</a> <br class="">
Fax - <a href="tel:850-254-2955" target="_blank" class="">850-254-2955</a> | Toll Free - <a href="tel:877-699-FLUX" target="_blank" class="">877-699-FLUX</a><br class="">
Web - <a href="http://www.fluxlabs.net/" target="_blank" class="">http://www.fluxlabs.net</a></span></div>
<div class=""><br class="">
</div>
</div>
</div>
<div class="">
<div class="">
<div class=""><br class="">
On Jul 28, 2015, at 9:54 AM, Mark Adams <<a href="mailto:mark@workshopit.co.uk" target="_blank" class="">mark@workshopit.co.uk</a>> wrote:<br class="">
<br class="">
</div>
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">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.<br class="">
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On 28 July 2015 at 15:14, Mark Adams <span dir="ltr" class=""><<a href="mailto:mark@workshopit.co.uk" target="_blank" class="">mark@workshopit.co.uk</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">Hi All,<br clear="all" class="">
<div class=""><br class="">
</div>
If anyone could provide advice that would be great. Running Debian Wheezy Mailscanner 4.79.11-2.2
<div class=""><br class="">
</div>
<div class="">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..).</div>
<div class=""><br class="">
</div>
<div class="">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!)</div>
<div class=""><br class="">
</div>
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class="">Any advice on debugging this would be much appreciated, also, how best should I clear out the DB of all the dupes?</div>
<div class=""><br class="">
</div>
<div class="">Thanks!</div>
</div>
</blockquote>
</div>
<div class=""><br class="">
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
<blockquote type="cite" class="">
<div class=""><span class=""></span><br class="">
<span class=""><font color="#888888" class=""><span class=""></span><br class="">
<span class="">-- </span><br class="">
<span class="">MailScanner mailing list</span><br class="">
<span class=""><a href="mailto:mailscanner@lists.mailscanner.info" target="_blank" class="">mailscanner@lists.mailscanner.info</a></span><br class="">
<span class=""><a href="http://lists.mailscanner.info/listinfo/mailscanner" target="_blank" class="">http://lists.mailscanner.info/listinfo/mailscanne</a>r</span><br class=""></font></span></div></blockquote></div></blockquote></div></div></div></div></div></blockquote></div></div></div></blockquote></div></div></div></div></blockquote></div></div></div></div></div></div></blockquote></div></div></div></div></div></blockquote></div></div></blockquote></div>
</div></div>
<br class=""><br class="">-- <br class="">MailScanner mailing list<br class=""><a href="mailto:mailscanner@lists.mailscanner.info" class="">mailscanner@lists.mailscanner.info</a><br class="">http://lists.mailscanner.info/listinfo/mailscanner<br class=""><br class=""></div></blockquote></div><br class=""></div></body></html>