mhonarc-users

Pb with MIMEArgs

2001-01-25 06:21:41
Sorry about annoying with a problem of configuration. But I am going mad.

After one month of Mhonarc use, we wanted to offer some niceties, like icons 
before attachements on message pages.

After reading the docs, this mailling list archives, I understood that I have 
to use ICONS, and MIMEARGS resources for m2h_external filter (useicon, usename 
and subdir). I wiped all the old pages and rebuilt all. Nothing changed.

I read again the docs, the mailling list and I discover the role of override 
(not in the documentation ;-). Build all. Again. I reset the default value for 
MIMEFILTERS and MIMEARGS. Again.

Help ?


Now the resources of general.mrc included in our master mrc is


<MIMEFilters>
application/ms-tnef;       m2h_null::filter;            mhnull.pl
application/octet-stream;  m2h_external::filter;        mhexternal.pl
application/*;             m2h_external::filter;        mhexternal.pl
application/x-patch;       m2h_text_plain::filter;      mhtxtplain.pl
audio/*;                   m2h_external::filter;        mhexternal.pl
chemical/*;                m2h_external::filter;        mhexternal.pl
model/*;                   m2h_external::filter;        mhexternal.pl
image/*;                   m2h_external::filter;        mhexternal.pl
message/delivery-status;   m2h_text_plain::filter;      mhtxtplain.pl
message/external-body;     m2h_msg_extbody::filter;     mhmsgextbody.pl
message/partial;           m2h_text_plain::filter;      mhtxtplain.pl
text/*;                    m2h_text_plain::filter;      mhtxtplain.pl
text/enriched;             m2h_text_enriched::filter;   mhtxtenrich.pl
text/html;                 m2h_text_html::filter;       mhtxthtml.pl
text/plain;                m2h_text_plain::filter;      mhtxtplain.pl
text/richtext;             m2h_text_enriched::filter;   mhtxtenrich.pl
text/setext;               m2h_text_setext::filter;     mhtxtsetext.pl
text/tab-separated-values; m2h_text_tsv::filter;        mhtxttsv.pl
text/x-html;               m2h_text_html::filter;       mhtxthtml.pl
text/x-setext;             m2h_text_setext::filter;     mhtxtsetext.pl
video/*;                   m2h_external::filter;        mhexternal.pl
x-sun-attachment;          m2h_text_plain::filter;      mhtxtplain.pl
</MIMEFilters>

<MIMEArgs override>
text/plain;maxwidth=80
image/gif;       inline usename subdir
image/jpeg;      inline usename subdir
image/x-xbitmap; inline usename subdir
image/x-xbm;     inline usename subdir
m2h_external::filter; usename usenameext useicon subdir
</MIMEArgs>

<ICONS> 
application/octet-stream:../fichiers_communs/binary.gif 
application/postscript:../fichiers_communs/postscript.gif 
audio/basic:../fichiers_communs/sound.gif 
image/gif:../fichiers_communs/image.gif 
image/jpeg:../fichiers_communs/image.gif 
image/tiff:../fichiers_communs/image.gif 
multipart/alternative:../fichiers_communs/alternative.gif 
multipart/digest:../fichiers_communs/text.gif 
multipart/mixed:../fichiers_communs/mixed.gif 
multipart/parallel:../fichiers_communs/mixed.gif 
text/richtext:../fichiers_communs/mixed.gif 
text/html:../fichiers_communs/mixed.gif 
text/plain:../fichiers_communs/text.gif 
unknown:../fichiers_communs/unknown.doc.gif 
video/mpeg:../fichiers_communs/movie.gif 
video/quicktime:../fichiers_communs/movie.gif
application/msword:../fichiers_communs/msword.gif
application/vnd.ms-excel:../fichiers_communs/msexcel.gif
application/x-excel:../fichiers_communs/msexcel.gif
application/vnd.ms-powerpoint:../fichiers_communs/msppt.gif
application/pdf:../fichiers_communs/pdf.gif
</ICONS>

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