-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday, January 17, 2003, Thomas Fernandez wrote...

>>> I will soon be implementing a filter that sends to trash and
>>> deletes any e-mail containing HTML - PERIOD!

>> Unless they alter the way they do their filtering, you can't.

> ACK.

>> It depends how the sending client sets up the headers. If it sets
>> the content-type of the whole email to text/html then yes you can
>> get that, but if it sets is as multipart-attachment (or whatever it
>> is), then you cannot as the html portion of the email will be an
>> attachment,

> It is technically possible to filter on that, very much like an HTML
> attachment is now shown as such in the attachment pane. Currently it
> is not possible to filter on attachment extensions, but I believe it
> is in the wishlist.

I'm confused... are you saying you can filter on an attachment header?
If so, I'd *love* to know how. It has been tried before... at least in
1.62 and didn't work here, and a number of people also pointed out it
didn't work, and I thought I gave a pretty good explanation of it a
while ago, it's in the archives under html filtering somewhere.

>>  and you cannot filter inside that part.

> ...but I would appreciate it if they implemented this feature.

Yes... it would be good... providing you allow for filtering inside
the attachment headers if the content-type is not text/* otherwise
you'll probably start matching things in the attachment body for words
like sex. If the content-type is text/* then allow the filtering
inside the attachment body too. Plus you also have to take into
account that the attachment must be encoded in 7bit or 8bit, or
provide a base64 decoder as part of the filtering, and to be honest,
that is going to slow the filtering down a *lot* when it comes to bit
emails.

- --
Jonathan Angliss
([EMAIL PROTECTED])

-----BEGIN PGP SIGNATURE-----

iQA/AwUBPig+DiuD6BT4/R9zEQI6AwCfSiqX0Gg1Llooq6t8mr8UCzSy2wcAoNv9
APuVzGT6jZT3auzFKLHFcvQI
=XniL
-----END PGP SIGNATURE-----


________________________________________________
Current version is 1.62 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to