Hi,

I am currently running SM in the following environment:

RedHat Linux 7.2
Apache 1.3
SquirrelMail 1.4.1
PHP 4.3.2
Zend Optomizer 2.1.03

Everything seems to be running smoothly apart from users viewing MS Excel attachments.  When users view an email message with an .xls attachment, the attachment seems to be recognised as an excel spreadsheet i.e.

testfile.xls 25 k  [ application/vnd.ms-excel ]  download

However, when users try to view the file, it is displayed as plain text, you can opt to choose a program to open the file you get an error message stating that "untitled.mixed.xls" cannot be located.  If you opt to save the file, the default filename is usually untitled.mixed which is saved as a text file.  If you choose to save the file as it's original filename as "all files", the file opens in excel but is corrupt.

Also, when users try to re-open messages when they have previously tried to view these attachments in their current session, the following error message is displayed:

Fatal error: Call to a member function on a non-object in /var/local/data/squirrelmail/class/mime/Message.class.php on line 681
 
The user must log out of SM and log back in before they can attempt to view the message again.
 
I believe that SM may attempt to read the file as application/octet-stream format even though the SM application displays that the attachment is application/vnd.ms-excel format.

I initially thought that the message was in uuencoded format so installed the "get_uuencoded" plug-in (version 2.0) to no avail.

I have checked /etc/mime.types file and excel is present as a recognised mime format. 

I have verified that the attachment directory has the appropriate file ownership permissions.

Any hints would be appreciated.
 
Regards,
Patricia

--------------------------------------------------------
Patricia Keena,
Systems Administrator,
Network and Systems Services,
ICT Services,
DIT, Aungier St,
Dublin 2.

Tel:    402 3177
Fax:   402 3086
Mail:  [EMAIL PROTECTED]

http://www.dit.ie
--------------------------------------------------------

--
This message has been scanned for content
and viruses by the DIT ICT MailScanner Service,
and is believed to be clean.
http://www.dit.ie

Reply via email to