VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1234567[8]910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 10:05:43 11/06/04 Sat
Author: Pushkar Bhatkoti New Delhi
Author Host/IP: 203.101.15.183
Subject: squirrelmail Attachment Downloading Problem in RHAS-2.1 [Solved]
In reply to: Jean Martin 's message, "Looking for ALLEN PETERSON" on 00:19:09 03/03/04 Wed

Dear All,

am runing RHAL-2.1 with Sendmail (default with rhas21) and squirrelmail. details are as below.

[root@ns root]# rpm -q squirrelmail
squirrelmail-1.4.3a-0.1.7.x
[root@ns root]# rpm -q sendmail
sendmail-8.11.6-9.72.1
[root@ns root]# rpm -q kernel
kernel-2.4.9-e.3
[root@ns root]# rpm -q apache
apache-1.3.23-10
[root@ns root]#

root@ns root># rpm -q imap-2001a
imap-2001a-10.0as


Problem is downloading the attachments with squirrelmail webinterface. I am able to send mail attachment without any problem but when I am downloading the mails (multiple) than it gives the save as option and than it saves files name untitled and format gives "mixed". and than it download the file in uNICODE 64 format (unreadable). even if u save and give it manual extension type.

In the other hand with outlook client or netscape mail client its working fine. (no problem with sending attachments)

Additionally i have reinstalled the rhas-2.1 and changed the apache 1.3 to apache-2 but problem remained same. I tried changing the download.php (downloading script of squirrelmail) with some new version of SM. but problem is same.

I hvae tested through the webmin admin interface (webmail) and read the all users mail without any problem. attachments are also downloading properly.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
How did I solved my problem ??
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

for the same I have tried to get help from Linux gurus + Redhat India New Delhi but got nothing. I sat around the my linux box in the evening and tried play around the download.php script. I was sure that problem is with the script not with RHAS system. but these Squirrelmail any version [I have tried all releases on the rhas2.1 box] but result was same [not able to download the attachments] it downloads but in MIXED file type]. I spened more than 4-5 hrs doing the study of other download scripts [as I don't know the PHP prgramming but logically I am sound with programming with other languages].

anyhow I reprogrammed few lines of the /usr/share/squirrelmail/src/download.php file and got success. attached file is the final working download.php.

So my friend plz don't be confussed if u have any problem and got solution u must publish to the linux communities so that any 1 facing problem can feel relexed!!

Pushkar Bhatkoti
Network Engineer
ARTEK ENTERPRIESES [P] LTD
45 Deepak Building
Nehru Place, New Delhi
India-110019
Mobile : 91-9810774912
mail : pushkar_slug [at] rediffmail [dot] commmmmmmmm
feel free to ask me any ur furthe queries

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Post a message:
This forum requires an account to post.
[ Create Account ]
[ Login ]
[ Contact Forum Admin ]


Forum timezone: GMT-7
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.