Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2008 08:56:00 -0500
From:      Jeffrey Goldberg <jeffrey@goldmark.org>
To:        Odhiambo Washington <odhiambo@gmail.com>
Cc:        alydiomc@yahoo.com, darko gavrilovic <darko.listsniffer@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: email disclaimer <insert; remove and instert>
Message-ID:  <E435819E-36F7-4E52-AC3A-0A10F9B23AC9@goldmark.org>
In-Reply-To: <991123400807290413v1984f747wb3e8616c78764b@mail.gmail.com>
References:  <82f3feb90807282017k22053d4cof15798685d53cd69@mail.gmail.com> <765169.66920.qm@web52211.mail.re2.yahoo.com> <991123400807290413v1984f747wb3e8616c78764b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 29, 2008, at 6:13 AM, Odhiambo Washington wrote:

> I can tell you it is "impossible". Why?
> While you can actually write a script to try to do it, you'll more
> likely end up breaking the e-mail format, because it will not be too
> easy to rightly guess the content-type/boundaries in replies.

If one converted all messages to mutlipart/mixed and added the  
disclaimer as text/plain part with a content-disposition: inline, then  
you might be able to safely ensure that each message had exactly one  
copy of the disclaimer.  But any script will have to be fully and  
completely aware of all MIME structures, so using various perl  
libraries is where I would start.

But of course you are right in that if you were replying to an  
unsnipped reply there is no way to know the structure of the quoted  
material in the first reply, so removing it from the quoted section  
may well be impossible to do reliably.

On a side note, I'm wondering if the original poster is familiar with  
the arguments presented in

   http://www.goldmark.org/jeff/stupid-disclaimers/

I haven't updated that in years, but I think that the points still hold.

-j





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E435819E-36F7-4E52-AC3A-0A10F9B23AC9>