[Mimedefang] external_filter problem

Ashley M. Kirchner ashley at pcraft.com
Mon Feb 11 22:00:42 EST 2002


"David F. Skoll" wrote:

> Actually, it's probably working, but you need to change $entity's MIME
> type and file name to "text/plain" and "something.txt".  Read the MIME::Tools
> and MIME::Entity man pages for info on how to do this.

    Okay, you lost me there.  I'm trying to match anything that has a .doc extension, and claims to be an 'application/msword', grab the $entity and shove it through 'wvText'.  'wvText' by itself wants an <input> and <output> filename.  From reading MIME::Entity I get the feeling I have to reconstruct the message myself (probably by rolling my own perl)...am I correct?

--
H | "Life is the art of drawing without an eraser." - John Gardner
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  Director of Internet Operations / SysAdmin    .     800.441.3873 x130
  Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave, #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.





More information about the MIMEDefang mailing list