mhonarc-users

Re: help w/new attachment/extension support

1998-05-12 17:33:36
On May 12, 1998 at 15:36, Eric Johnson wrote:

Do I need to write my own filter?  Or will the proper syntax in mhexternal.pl

mhexternal.pl should suffice.

   Could not process part with Content-Type: APPLICATION/X-SUN-applix_words; 
name="SunPS_SOW-sample.aw".

The attachment is placed in the proper directory as type "Default" and ends w
ith a .bin extension.

I added the following to mhexternal.pl:

    'application/X-SUN-applix_words',               'aw:Applix Word document'

If editing mhexternal.pl directly, use all lowercase for the content-type.
Content-types are translated to lowercase before hash lookups.


The relevant portion (I believe) of the .rc file follows:

   <MIMEFilters>
   application/X-SUN-applix_words:m2h_external'filter
   </MIMEFilters>

   <MimeArgs>
   application/X-SUN-applix_words:ext=aw type="Applix Words Document"
   </MimeArgs>

Seems to look okay.  Are you sure your rc file is being read?

Any help much appreciated.

Can you provide a URL to the raw message, converted message, and rc
file?  If not, can you bundle the raw message and your rc file and make
it available (or email it to me directly at 
ehood(_at_)medusa(_dot_)acs(_dot_)uci(_dot_)edu --
do NOT mail it to the list).

        --ewh

----
             Earl Hood              | University of California: Irvine
      ehood(_at_)medusa(_dot_)acs(_dot_)uci(_dot_)edu      |      Electronic 
Loiterer
http://www.oac.uci.edu/indiv/ehood/ | Dabbler of SGML/WWW/Perl/MIME

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