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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

> 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.

tc,hago.

g
.

****
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' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux