HTML disarming died, status = 13

Ferry van Aesch ferry at
Mon Jun 29 07:47:49 UTC 2020

I’m still trying to get my head around this. These failures genuinely seem to be random. Amazon notifications for instance, very standard layout, most come in perfectly fine and recently one of them failed. I run it through the queue again and it passes without failure. I’m a bit lost tbh.

From: Ferry van Aesch <ferry at>
Date: Tuesday 16 June 2020 at 19:24
To: MailScanner Discussion <mailscanner at>
Subject: Re: HTML disarming died, status = 13

Hi Shawn,

Thanks for getting back to me so quickly. Please see the sanitised email attached. (I assume attaching works with the mailing list?)
It’s not happening with every message indeed; but it’s a reasonable amount of the emails it processes. I just ran the original message (cat message|sendmail -t) and it was delivered without a problem.


From: MailScanner < at> on behalf of Shawn Iverson via MailScanner <mailscanner at>
Reply to: MailScanner Discussion <mailscanner at>
Date: Tuesday 16 June 2020 at 18:39
To: "mailscanner at" <mailscanner at>
Cc: Shawn Iverson <shawniverson at>
Subject: Re: HTML disarming died, status = 13

This message is by design, as long as you are not caught in a loop and it is not happening with every message.  There's something in the HTML that killed the child spawned to perform the disarming.  Depending on the scenario, a sample of the email (sanitized) might be helpful to isolate what is going on here and improve the HTML Disarming code.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the MailScanner mailing list