Re: Files converted - usename &&

2000-11-01 14:10:43
On October 31, 2000 at 11:34, Roberto =?iso-8859-1?Q?Jo=E3o?= Lopes Garcia 

As parameters to m2h_external filter I setup: usename  subdir useicon
and I want to ask you the follow

    1 - Can the ICON url be setup also by the file name extension?? Some 
maillers do not setup correct content:types!

The issue of MUAs not setting the correct content-types has come up
many times on the list.  Make sure to read the security notes in the
MIMEFILTERS documentation about using the filenames specified in the

Now, to get what you want would require changes to
m2h_external::filter.  You can do a custom version of the filter to do
what you want.  MHonArc does not contain a mapping of filename
extensions to content-types (which has known problems using this
technique) so you would have to do your own.

    2 - The file is converted and saved as msg$MSGNUM$/(filename or name). 
A link to it is made in the message body. This link show the ICON and a 
text, generally the file name but, when Content-Description is setup in the 
message, the link show the Content-Description text! I do not want show it, 
I need to show the file name. Is it possible.

A simple modification to the filter can be done.  Looks like you will
need to do a little Perl programming.

In the botton of the index pages there is an link to MHonArc, it is fine 
but I want to translate it. I need do rack the perl code to translate de 
text: Mail converted by MHonArc 2.4.7??

See the DOC resource page.  You can disable the generation of the link
and then recreate one using the other layout resource.


<Prev in Thread] Current Thread [Next in Thread>
  • Re: Files converted - usename &&, Earl Hood <=