Re: [exim] reject html letters and gif attachments!

Pàgina inicial
Delete this message
Reply to this message
Autor: Vladimir Koshelenko
Data:  
A: Exim users mailing list
Assumpte: Re: [exim] reject html letters and gif attachments!
Здравствуйте.

В сообщении от 13 марта 2007 Alexander Shikoff написал(a):

> > Filtering HTML seems as bad idea. Indeed you can - if you want to loose
> > half of mail from outside.
>
> Sorry for little offtopic. Filtering HTML messages may be a part of
> corporative security policy. And it's possible to give 550 error with text
> like 'Only plaintext messages is acceptable' ;)


Agreed.


> > Filtefing image attachments is easy. If your Exim built with 'demime'
> > check, just add on top of DATA ACL this:
> >
> >   deny
> >       message     = Images not allowed, please zip them before send.
> >       demime      = gif:jpg

> >
>
> 'demime' is deprecated way to implement filtering attachments
> (http://www.exim.org/exim-html-4.66/doc/html/spec_html/ch41.html#SECTdemime
>cond) It's recommended to use SMTP MIME ACL instead.


You right, but it seems more complicated. (read: 'I cannot write condition
right now without looking to spec')

> Keep in mind that since exim does not support RFC 2231 yet, neither MIME
> ACL nor 'demime' are not filtering efficiently attachments with non-ASCII
> file names.


I really never saw spam with non-ASCII attached .gif filenames :)