procmail
[Top] [All Lists]

RE: How to convert to 8 bit mime format

2002-04-15 12:03:09
At 2:02 PM -0400 4/15/02, Edward Wildgoose is rumored to have typed:

I am aware that sendmail does 7 to 8 bit conversion, hence my statement
that I am using procmail not sendmail.  The mention of procmail was there to
indicate that my complete setup is Procmail as LDA + Postfix as MTA.  All
clear so far?

   If Postfix doesn't do 7 -> 8-bit conversions, maybe you need to change
your MTA? (You have something against sendmail maybe?)

Also I am quite clear that Procmail does not "Do" a lot, certainly not
complex extraction of attachments (wouldn't it be nice if it did though...),

   No, it _wouldn't._ procmail is designed for a specific task, and expanding
its functionality to the point of breaking would only make sense if it were a
commercial product by a certain Redmond company (the argument can be made
that much of their product is pre-broken, anyway).

   procmail does what it does, and does it _extrordinarily_ well. If you need
to do something else, you can use procmail to pipe the message to any program
that does the "something else." Loading procmail up with a bunch of
"features" will only make it more difficult to maintain, and break it in many
different places. You're thinking like a Windows user, not a unix one. (Sorry
for the insult. ;)

   (Pet peeve: a program that works breathtakingly well MUST have its
functionality expanded until the program becomes completely worthless.)

so I wasn't expecting to find an undocumented option to do this.  The
mention of "programs available to pipe through" and reference to mimencode
was supposed to indicate that I am looking for an external program.

   Oookkk...I'm honestly not sure exactly what you're trying to do ("7-bit to
8-bit" covers a LOT of ground, including UUENCODE, you know?), but if you
want something that converts to/from Quoted-Printable from/to 8-bit, a quick
Google search shows:

http://www.fourmilab.ch/webtools/qprint/

http://www.python.org/doc/current/lib/module-quopri.html

http://www.btinternet.com/~tratt/comp/python/crystal/sample/api.mimify.html

   ...and a couple thousand other links which may or may not be helpful. If
you're talking about encoded binary "attachments" (I always get confused when
people use the term; a mail message is a bit stream, and people use
"attachment" to mean different things - is a 7-bit vcard an "attachment?"),
there's demime. If you're talking about a combination, well, heck, filter the
mail and send it off wherever it needs to go based on content (assuming you
could believe the content-type headers, which is unlikely - ever get
text/plain mail with _no_ charset modifier containing 8-bit Windows
characters?).

   Me, I'd install sendmail and let it do the work for you instead of wasting
all the time screwing around trying to "fix" Postfix's lacking features by
adding bunches of overhead to the machine processing every email message. But
I'm lazy.

Clients are not known, but does anyone know of any "popular" mail clients
that don't support 8 bit attachments?

   Unless you control what the users are using (that corp environ that Sean
mentioned where you can dictate there will be no Macintosh machines, or
handhelds, or other non-Windoze clients and everyone will use the disgusting
Outlook Express and send lots of useless HTML tags and containers with every
message they mail out), it would be terribly presumptious of you to make the
assumption that none of the users will be using "damaged" (to your purposes)
clients. Anytime you think you've made something idiot-proof, I guarantee you
you will find a bigger idiot (having been on both sides of that equation).

         Charlie


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>