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:[email protected]
public GnuPG/PGP key: https://victor.corvax.kiev.ua/corvax.asc
Skype ID: corvax_nb   JID: [email protected]

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to