Re: [exim] demime -> acl_smtp_mime

Top Pagina
Delete this message
Reply to this message
Auteur: Marco Gaiarin
Datum:  
Aan: Victor Ustugov via Exim-users
CC: exim-users
Onderwerp: Re: [exim] demime -> acl_smtp_mime
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}}


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"} };

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

Thanks!

-- 
  Lettera da Marsala, solo tre righe di biglietto
  il resto l'ho pensato e non l'ho scritto.        (R. Vecchioni)