Re: [exim] Malformed messages - demime - deprecated - use a…

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Malformed messages - demime - deprecated - use acl_smtp_mime
On 09/09/2019 15:22, Daniel Botting via Exim-users wrote:
> So we have in our config, which is a common example:
>
> deny message   = Malformed message, cannot scan for virus ($demime_reason)
>         demime    = *
>         condition = ${if >{$demime_errorlevel}{2}{1}{0}}
>
> I have been looking for a number of days now for a replacement using
> acl_smtp_mime, if anybody is able to assist that would be much appreciated.



Reading around the code there appear to be a couple of totally
undocumented variables "mime_anomaly_level" and "mime_anomaly_text".

Since 2004.

I suspect def:mime_anomaly_text would be a reasonable condition.
--
Cheers,
Jeremy