HTML mail [was Re: FEL was Re: Hi]

g geleem at
Sun Aug 8 19:53:24 UTC 2010

On 08/08/2010 02:30 PM, Marko Vojinovic wrote:

> But this is just a declaration. The message doesn't actually contain any
> html code, AFAICS. Things like <head>, <body>, and other tags.

there is a difference between 'html code' and 'html format'.

web pages work with 'html format', email works with 'html code'.

'Content-Type: multipart/mixed;' is *not* what i filter on.

op's message was marked as 'multipart' and actually has *3* parts;

Content-Type: text/plain; charset=ISO-8859-1
Content-Type: t e x t/h t m l; charset=ISO-8859-1
Content-Type: text/plain; charset="us-ascii"

my filter is set for 'Content-Type: t e x t/h t m l'

my message was marked as 'multipart' and has *3* parts, but no html;

Content-Type: multipart/signed; micalg=pgp-sha1;

Content-Type: text/plain; charset=windows-1252
Content-Type: application/pgp-signature; name="signature.asc"
Content-Type: text/plain; charset="us-ascii"

> As I understood, html messages are frowned upon because they waste space
> and bandwidth, and because they might contain javascripts and stuff that is
> problematic security-wise.

this is true and one of reasons why i filter them.

> But if the message body just doesn't contain any html tags at all,

it *does* have 'html tags' when written as html.

> why does a "multipart/mixed" declaration in the header make it html?

it does not. see above.

> IOW, shouldn't the mail filter (generic one, I'm not talking specifically
> about g's mail filter) check the actual contents of the message for html
> stuff, rather than just blindly trust the message header?

my filter works in *body*, not 'header' and looks for full phrase.


peace out.



in a free world without fences, who needs gates.
help microsoft stamp out piracy - give linux to a friend today.
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
learn linux:
'Rute User's Tutorial and Exposition'
'The Linux Documentation Project'
'LDP HOWTO-index'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 545 bytes
Desc: OpenPGP digital signature
Url : 

More information about the users mailing list