> -----Original Message----- > From: p dont think [mailto:[EMAIL PROTECTED] > Sent: Friday, September 24, 2004 12:04 PM > To: David T. Wilson > Cc: [EMAIL PROTECTED] > Subject: Re: [SM-USERS] Problem - Can't Send attachments > 10K SM 1.4.3a > > > Problem overview: > > --------------------------------------------------- > > The problem seemed to start after the upgrade. First of all the upgrade > did > > not take in to consideration a change(s) in the SM configuration file. > But > > got that straightened out. Now I can't send email with an attached file > > greater the 10Kb in size. When send mail with attachment(s) greater > than > > 10Kb the browser just did nothing. > > > > > > Actions Taken: > > --------------------------------------------------- > > 1) Read the mail log and found this: > > > > Aug 3 14:00:05 borabora postfix/smtpd[15811]: connect from > > localhost.localdomain[127.0.0.1] > > Aug 3 14:00:05 borabora postfix/smtpd[15811]: C2F9B33C007: > > client=localhost.localdomain[127.0.0.1] > > Aug 3 14:05:06 borabora postfix/smtpd[15811]: timeout after DATA from > > localhost.localdomain[127.0.0.1] > > Aug 3 14:05:06 borabora postfix/smtpd[15811]: disconnect from > > localhost.localdomain[127.0.0.1] > > > > Did some looking around and found nothing that seemed out of place other > > that SM looked like is was not sending data to postfix > > You are only uploading the file. You are not yet pressing the send > button from what I can gather. Postfix is not involved in this process. > > > 2) Installed the Debugger Plug-in and received the information below > (Start > > output from "debugger plug-in") when I was "Adding" the file to the > email. > > I went to line 1290 and changed the code there from: > > // FIXME: we SHOULD prefer move_uploaded_file over rename because > > // m_u_f works better with restricted PHP installes (safe_mode, > > open_basedir) > > if ([EMAIL PROTECTED]($_FILES['attachfile']['tmp_name'], > > $full_localfilename)) { > > if([EMAIL PROTECTED]($_FILES['attachfile']['tmp_name'], > > $full_localfilename)) { > > return true; > > } > > } > > > > To: > > if([EMAIL PROTECTED]($_FILES['attachfile']['tmp_name'], > > $full_localfilename)) { > > return true; > > } > > > > And nothing changed other than the debugger stopped reporting errors > when > > adding an attachment. > > Try removing the @ sign in that line to see for sure if the upload worked. > <snip debugger output>
The problem was the php version I was using. Old version Red Hat ES 3.0 PHP 4.2.3-11.ent New Version Red Hat ES 3.0 PHP 4.2.3-14.ent The small upgrade made all the difference in the world. David. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [EMAIL PROTECTED] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
