OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Nick Simicich (njsscifi.squawk.com)
Date: Tue Jun 04 2002 - 06:52:40 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    For rigid plaintext output from different inputs, you might try my demime
    script. It was actually developed to de-attachment and de-html mailing lists.

    http://scifi.squawk.com/demime.html

    It uses HTML::FormatText for html-to-plaintext conversion. I agree that
    Lynx does a better job, and it is likely that links does an even better job
    since it does tables.

    I have to admit that I do not worry about character sets. Some users have
    dealt with local character sets using simple 8 bit passthrough and a
    constant character set.

    Using procmail or maildrop to drive something like demime is probably the
    way to go. Putting something like this into the MTA seems wrong.

    At 03:41 AM 2002-06-04 +0200, Matthias Andree wrote:
    >Martin Pala <martin.palahq.iol.cz> writes:
    >
    > > The problem is, that huge of my clients (one domain) have special needs
    > > - they have SetTopBoxes, that support only plaintext messages. Is there
    > > a functional content filter for converting HTML to plaintext, or maybe
    > > what way could be used to reach this.
    >
    >I support Wietse's suggestion. (The alternative would be to bounce such
    >mail with procmail/formail or maildrop/reformail and tell the sender to
    >retry in plain text, but some users will be unable to configure their
    >?utl??k properly and will be unable to send mail to your settop box
    >user, which is probably not desirable).

    --
    War is an ugly thing, but it is not the ugliest of things. The decayed and 
    degraded state of moral and patriotic feeling which thinks that nothing is 
    worth war is much worse. A man who has nothing for which he is willing to 
    fight, nothing he cares about more than his own personal safety, is a 
    miserable creature who has no chance of being free, unless made so by the 
    exertions of better men than himself. -- John Stuart Mill
    Nick Simicich - njsscifi.squawk.com
    

    - To unsubscribe, send mail to majordomopostfix.org with content (not subject): unsubscribe postfix-users