Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Help!... I'm a relative newbie with Squirrelmail. I'm running with RH 8.0. If I use the Squirrelmail web interface and attach a very simple text document and send it to another email account it seems to get there with no problems e.g
text.txt contains:
This is a simple test!
When I receive the email and open text.txt I can see the same text.
If I get a little more sophisticated and attach an image (image.png), then when I receive it on another email account it appears that the image has been corrupted. By corrupted I mean that the image is nolonger the same size and none of my graphical packages can open the file (it was OK before it was sent).
I am using courier-imap and qmail. If I use Mozilla or Netscape to send the image (rather than Squirrelmail) then it transfers fine, so it appears that this is just a php problem with squirrelmail?
I'd be extremely gratful if somebody could point me in the right direction???
Yes, it has gotten larger. To me that implies that the contents are either being replicated or extra characters are being injected. I've not managed too find anything else similar to this but a friend of mine also has the same problem so I know this isn't unique to me (which wouldn't be a first!)
That's good to hear. I have docs (rough notes) that I wrote if you need some help? I think the problem is with squirrelmail or courier-imap as I can send messages straight to qmail (smtp) from Mozilla or Netscape and they get there OK.
The imap server is set to courier, I just double checked in the /etc/squirrelmail/config.php file.
If I strip the extension off a file and send it, it still gets mangled (it looks to be almost double the size!? (but not exactly)). If I send a very basic text string it looks to be OK, but a longer plain text file also gets corrupted. If I do a file comparison, it's taking blocks of the original text file and replicating them (looks to be random)!
Compose a new message, add an attachment, but don't send it. After you have added the atty it should live in the $data directory and will remain there until the message is sent. Go there and see if the file you uploaded has changed in any form.
OK... sorry for the delay had to pop out for a minute...
I upload the document to the email but didn't send the email, I then move in to /var/spool/squirrelmail/attach and do a long listing: ls -lart, I see that the timestamp on the file is approximately the same as the point when I uploaded the file so I believe I am looking at the uploaded file. I then ftp the original file to the same location and look at the respective file sizes, once again the uploaded file is corrupted. I also did a comparison and see that the it's corrupted in a simlar fashion to what I reported above.
So my conclusion is that the uploading of the file using squirrelmail causes the corruption. Do you have any thoughts?
Yeah me to... Generally I can work out these things but this time I'm bashing my head against a brick wall... and it hurts!
Wondering if any of the squirrelmail folks read these posts?
The fact that I'm not alone since a friend who uses sendmail, UW-imap and the same version of squirrelmail is seeing the same problem makes me curious why others have not seen the same issue. I did see a post regarding plugins. I wonder if the existance of a plugin is causing issues, guess I should remove all plugins, try again and then add them back in one by one?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.