[imp] mime_drivers doesn't work?
Roman Serbski
libser@manas.kg
Tue, 08 Jan 2002 19:15:19 +0500
Jan Schneider wrote:
> Zitat von Roman Serbski <libser@manas.kg>:
>
>
>>Hi list
>>
>>I have small problem with attachments type icons (Horde 2.0, IMP 3.0).
>>In fact I noticed this behavior in my installation, but I also tried to
>>
>>reproduce it under demo.horde.org - same results.
>>When I receive a letter with Word doc attachment - IMP shows text.gif
>>icon.
>>Here is small screenshot, that was made under *demo.horde.org* :
>>http://linux.manas.kg/img/mime_drivers.jpg
>>
>>I suppose it should be msword.gif? wvHtml part in
>>horde/config/mime_drivers.php is OK and uncommented.
>>After looking at horde/imp/config/mime_drivers.php I noticed that there
>>
>>are only two drivers: 'text' and 'html'. If I add 'msword' driver here
>>and copy msword.gif to horde/imp/graphics/mime everything works OK. But
>>
>>from the other side - all graphic attachments have correct attachment
>>icons - so looks like horde/config/mime_drivers.php works correct.
>>
>>Am I missed something in configuration or it is normal behavior since I
>>
>>use imp for user authentication?
>>
>
> The mime_drivers.php file just extends or adapts the global mime driver
> settings in horde/config.
Hi Jan
Thank you for reply.
That's strange - it doesn't work for me even under demo.horde.org... I
changed several servers - no effect.
I didn't touch anything in mime_drivers.php, to be sure I copied
mime_drivers.php.dist to mime_drivers.php.
> I have no idea why the wrong icon appeared. I just checked it again to be
> sure and it works fine here with the default configuration.
Wait a minute but with the default configuration wvHtml part in
horde/config/mime_drivers.php is commented (disabled). I think it is
responsible for msword.gif ('default' => 'msword.gif')? How did you get
msword.gif appeared? :) Maybe there is another place to look for?
Thank you.
Roman
--
"Jer ono sve sto znas o meni to je samo stara prica - ja sam jedan od
mladica koje vidjas svaki dan" - Arsen Dedic