EurNet wrote:
>
> /^Content-type:\s*text\/html/i
> /^Content-type:\s*text\/enriched/i
>
> on taboo headers section
> but the message go thru
My anti-MIME taboos are:
taboo_headers:
/^Content-Transfer-Encoding:.*base64/i
/^Content-Type:.*html/i
/^Content-Type:.*image/
/^Content-Type:.*application/
taboo_body:
/^Content-Transfer-Encoding:.*base64/i
/^Content-Type:.*html/i
/^Content-Type:.*image/
These may not be the most efficient, but they suit my purposes. I have
found that you need to check both headers and body - the former for
posts that are entirely html or whatever, and the latter to catch
multiparts (assuming you want other multipart messages to be allowed to
pass, as I do.)
--
<kflippin@indole.net> Geoff Capp Productions
<kflippin@neraves.org> NE-Raves Administrator
<DrJesus@hyperreal.org> ChillOut DJ & Producer
http://DrJesus.djcentral.com under construction
Mantra -- Om Ah Hum Vajra Guru Padma Siddhi Hum
References:
|
|