mhonarc-users

RE: Considering a switch from hypermail to MHonArc

1996-08-08 16:41:20
Hello All,

My first post to this list.  I'm Bill Uemura, from Huntsville, AL, USA.  I'm 
really enjoying working with MHonArc.  Neat stuff.

Mr. Bohnet raises a challenge that interested me.  What would it take to begin 
writing a filter for MS Word files?  I'm assuming I would have to know how to 
figure out the file format for the .doc files.  Any experience out there in 
this?

Regards,
Bill

----------
From:   Achim Bohnet[SMTP:ach(_at_)rosat(_dot_)mpe-garching(_dot_)mpg(_dot_)de]
Sent:   Thursday, August 08, 1996 3:03 PM
To:     ab2(_at_)pobox(_dot_)com
Cc:     mhonarc(_at_)rosat(_dot_)mpe-garching(_dot_)mpg(_dot_)de; 
ach(_at_)rosat(_dot_)mpe-garching(_dot_)mpg(_dot_)de
Subject:        Re: Considering a switch from hypermail to MHonArc 

ab2(_at_)pobox(_dot_)com said:
Hi!

We're having problems with hypermail in that it does strange things
to our msmail and ms-exchange mail messages (we have no choice but to
use microsloth).  Especially the attachments, such as MS Word docs.

[I don't know the ms-* products. So I assume in the followning
that they produce MIME conformat mails. And that attachment is
as a synonym for a MIME part.]

Having read through the FAQ and docs, it didn't look like hypermail
could handle these things any better, though it does handle many MIME
formats correctly.  Would switching to MHonARC solve our problem?

I think so. You have two choices:

1) The easy one:

Check value of the Contents-Type: header of the part that contains 
a MS-Word document. I assume here that the value is application/x-ms-word
and that the normal extention of an MS-Word file is .msw.  Add to the your
configuration file .mhonarc.rc:

<mimefilters>
application/x-ms-word:m2h_external'filter:mhexternal.pl
</mimefilters>

<mimeargs>
application/x-ms-word:extention=mws description='A MS-Word document'
</mimeargs>

This way mhonarc would save all MS-word parts into seperate files with
the extention '.msw'. In the HTML converted mail the MS-Word part(s)
are replaced with links to the files.

Now you only have to make sure that your HTTP server translates .msw
extention to application/x-ms-word and that your WWW browser know
that for this contents type it has to start MS-Word.


2) To fully support MS-Word in mhonarc you would have
to write a MS-Word to HTML filter.  I guess this is more that you want
to do :-)

Hope this helps,
Achim


I'm not subscribed to the list, so please, responses to 
ab2(_at_)pobox(_dot_)com or
arnoldbaker(_at_)attmail(_dot_)com(_dot_)  I'll post a summary of replies if 
requested.

-- 
Arnold Baker                 "Welcome to Earth."
AT&T Solutions                       Wil Smith, ID4



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