Squirrelmail not sending attachment

mnichols62

Verified User
Joined
Mar 13, 2007
Messages
12
I am able to login with squirrelmail, compose a message and attach a file (c:\test.txt) . I have verified that the temporary file gets created in /var/www/html/squirrelmail-1.4.11/data. When I hit send, no errors are reported (verified in httpd log files, even see the POST where the message is sent).

The email gets delivered with text of message, but without the attachment (test.txt less than 5kb).

When I send the same email from Outlook pointing to exim as the smtp server with the same attachment, it gets delivered fine which should rule out the attachment being stripped by CLAM.

Any ideas?

.... found this on squirrelmail.org, there is a patch for this problem

http://sourceforge.net/tracker/index.php?func=detail&aid=1805471&group_id=311&atid=100311

I will report back if it is fixed.
 
Last edited:
I was informed today by one of our customers that they could not use attachments via Squirrellmail 1.4.11 today. After applying the patch, I was able attach files, send and receive the email with attachment.

Thanks for the info and link.
 
You want 1805471_composeattach.patch to fix this. Download the file to /var/www/html/squirrelmail and then run the following command:

Code:
patch -p0 < 1805471_composeattach.patch
 
Last edited:
I did try the 1.4.11_compose_attachments.patch file, since it is supposed to fix the issue with multiple attachments. However, it failed. So, I had to use the first one. I think I'm just going to pull those compose.php and addrbook_search_html.php from CVS.
 
Attached are the two php files that need to be replaced in order for attachments to work in SquirrelMail 1.4.11. Place these two files in /var/www/html/squirrelmail/src. Thanks.

Better to upgrade to SquirrelMail 1.4.12 :)
 
Better to upgrade to SquirrelMail 1.4.12 :)
Broken attachments is a very common problem with Squirrelmail v1.4.11. Since the patch didn't fix the problem, I would do what SajtXL suggested. Upgrade to v1.4.12. Hope the problem with attachements is fixed in this version.
 
Back
Top