procmail
[Top] [All Lists]

Re: MIME digests and formail

1997-05-27 12:36:00
Stefan Monnier 
<monnier+/news/lists/procmail(_at_)TEQUILA(_dot_)SYSTEMSZ(_dot_)CS(_dot_)YALE(_dot_)EDU>
 writ
es:
era eriksson <era(_at_)iki(_dot_)fi> writes:
What's wrong with feeding it to a real true MIME decoder?

1 - it's almost what formail already does (only extended to another case),
   so it seems stupid to need another external program.

No, it's much different than what formail currently does.  formail
currently uses a set of heuristics, while a formail decoder uses the
iron-clad MIME rules.  It may appears almost the same on the outside,
but the mechanics are much different.  formail currently has no MIME
code in it, so it's not like you would be sharing much code.

Can you explain why needing another program is stupid?  Isn't that what
the whole UNIX toolbox is about?

Anyway, if you really want one big program that does it all, just use
perl5 and the MIME modules and forget formail entirely.  That way you
can specify what to do with nested digests, other types of multipart
messages in the digest.

Philip Guenther

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