• Article for your preferred language does not exist. Below is international version of the article.

Article ID: 1344, created on Oct 6, 2008, last review on May 11, 2014

Resolution

The error means that webmail tries to use /usr/bin/wvHtml to open the file, but wvHtml does not exist in the system. wvHtml utility belongs to "wv" package, you should download and install it as described in the instruction below.

For Linux:

1. Download and install rpm packages 'wv' for .doc attachments, and 'xlhtml' for .xls attachments. Install them.

2. Create directory /usr/share/psa-horde/bin and copy binaries into the directory:

# mkdir /usr/share/psa-horde/bin/
# chmod 755 /usr/share/psa-horde/bin/
# cp /usr/bin/xlhtml /usr/share/psa-horde/bin/
# cp /usr/bin/wvHtml /usr/share/psa-horde/bin/

3. Change the binaries paths in horde config:

/usr/share/psa-horde/config/mime_drivers.php

$mime_drivers['horde']['msexcel']['location'] = '/usr/share/psa-horde/bin/xlhtml';
$mime_drivers['horde']['msword']['location'] = '/usr/share/psa-horde/bin/wvHtml';


4. Restart apache to apply the changes.

For FreeBSD:

1. Install the following packages from ports collection:

/usr/ports/textproc/wv
/usr/ports/textproc/xlhtml

2. Create directory /usr/local/psa/etc/psa-horde/bin

# mkdir /usr/local/psa/etc/psa-horde/bin
# chmod 755 /usr/local/psa/etc/psa-horde/bin
# cp /usr/bin/xlhtml /usr/local/psa/etc/psa-horde/bin
# cp /usr/bin/wvHtml /usr/local/psa/etc/psa-horde/bin

and copy the binaries into it:

# cp /usr/local/bin/wvHtml /usr/local/psa/etc/psa-horde/bin
# cp /usr/local/bin/xlhtml /usr/local/psa/etc/psa-horde/bin

3. Change the binaries paths in horde config:
/usr/local/psa/etc/psa-horde/horde/mime_drivers.php

$mime_drivers['horde']['msexcel']['location'] = '/usr/local/psa/etc/psa-horde/bin/wvHtml';
$mime_drivers['horde']['msword']['location'] = '/usr/local/psa/etc/psa-horde/bin/xlhtml';

4. Restart apache.

Email subscription for changes to this article
Save as PDF