Re: [exim] demime -> acl_smtp_mime

Top Page
Delete this message
Reply to this message
Author: Victor Ustugov
Date:  
To: Marco Gaiarin via Exim-users
Subject: Re: [exim] demime -> acl_smtp_mime
Marco Gaiarin via Exim-users wrote on 28.09.2018 15:30:
> Mandi! Victor Ustugov via Exim-users
> In chel di` si favelave...
>
>> Try to use $mime_anomaly_level and $mime_anomaly_text
>
> Bingo! I've wrote:
>
>   deny
>     message = Serious MIME defect detected ($mime_anomaly_text)
>     condition = ${if > {$mime_anomaly_level}{1} {true}{false}}


It's better to insert "decode = default" before "message"

> looking at the code (seems that 'feature' are undocumented):
>
>  struct anom {
>    int level;
>    const uschar * text;
>  } anom[] = { {1, CUS"Broken Quoted-Printable encoding detected"},
>  {2, CUS"Broken BASE64 encoding detected"} };


Yes, mime_anomaly_level and mime_anomaly_text are not documented.


> now i accept broken quoted-printable mime parts but not broken base64 mime
> parts.
>
> Thanks!


Welcome.


-- 
Best wishes
Victor Ustugov        mailto:victor@corvax.kiev.ua
public GnuPG/PGP key: https://victor.corvax.kiev.ua/corvax.asc
Skype ID: corvax_nb   JID: victor@???