[imp] Attachments Not Working
Parag Godkar
paragg@konark.ncst.ernet.in
Tue, 23 Jul 2002 14:53:50 +0530
This is a multi-part message in MIME format.
---------------------- multipart/alternative attachment
Are you trying to attach a file
of size greater than 2MB ?
You can verify this by the error
message at the top of compose
window after you try to attach a=20
file greater than 2MB.
If yes, then you can change
the following setting in /etc/php.ini -
; Maximum allowed size for uploaded files.
upload_max_filesize =3D 2M
Regards,
Parag.
----- Original Message -----=20
From: Peter Robbins=20
To: imp=20
Sent: Tuesday, July 23, 2002 4:38 AM
Subject: [imp] Attachments Not Working
Here is the synopsis of our config and then the symptoms of the =
problem.
Any help is greatly appreciated.
Horde Versions
a.. Horde: 2.1=20
b.. IMP: 3.1 ( run IMP tests )=20
c.. Turba: 1.1=20
PHP Version
a.. View phpinfo() screen=20
b.. PHP Version: 4.2.1=20
c.. PHP Major Version: 4.2=20
d.. PHP Minor Version: 1=20
e.. PHP Version Classification: release=20
f.. You are running a supported version of PHP.=20
PHP Module Capabilities
a.. FTP Support: Yes=20
b.. Gettext Support: Yes=20
c.. IMAP Support: Yes=20
d.. LDAP Support: No=20
e.. MCAL Support: No=20
f.. Mcrypt Support: No=20
g.. MySQL Support: Yes=20
h.. PostgreSQL Support: No=20
i.. XML Support: Yes=20
Miscellaneous PHP Settings
a.. short_open_tag enabled: Yes=20
b.. magic_quotes_runtime set to Off: Yes=20
c.. file_uploads enabled: Yes=20
PHP Sessions
a.. Session counter: 3=20
b.. To unregister the session: click here=20
PEAR
a.. PEAR - Yes=20
b.. Recent PEAR - Yes=20
c.. Mail::RFC822 - Yes=20
d.. Log - Yes=20
e.. DB - Yes=20
=20
=20
The above is output from test.php in the root of the Horde directory. =
I hope that's enough.
The symptom is that if I compose a message, and try to attach a file =
(any file), the attachment never gets made. The way I understand it, the =
attachment is supposed to be scanned for file-type and size, then copied =
to the /tmp directory until the message is sent. I should also get a =
second 'attach window' from which I can attach more files.
When I fill in the file path (either manually or using the Browse... =
button) then click attach, nothing happens. No log entry no new file =
attachment, nothing.
The one last thing that might be relevant here is that this HORDE/IMP =
install is on another server from the SMTP mail server.=20
---------------------- multipart/alternative attachment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Are you trying to attach a =
file</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>of size greater than 2MB ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>You can verify this by the =
error</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>message at the top of =
compose</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>window after you try to attach a =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>file greater than 2MB.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>If yes, then you can =
change</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the following setting in /etc/php.ini=20
-</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>; Maximum allowed size for uploaded=20
files.<BR>upload_max_filesize =3D 2M<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Parag.</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dprobbins@rastardm.com =
href=3D"mailto:probbins@rastardm.com">Peter=20
Robbins</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dimp@lists.horde.org=20
href=3D"mailto:imp@lists.horde.org">imp</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, July 23, 2002 =
4:38=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [imp] Attachments Not=20
Working</DIV>
<DIV><BR></DIV>Here is the synopsis of our config and then the =
symptoms of the=20
problem.<BR>Any help is greatly appreciated.<BR><BR>
<TABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100%" border=3D0>
<TBODY>
<TR>
<TD>
<H1>Horde Versions</H1>
<UL>
<LI>Horde: 2.1=20
<LI>IMP: 3.1 (<A=20
href=3D"http://intranet.rastardm.com/horde/imp/test.php"> run =
IMP=20
tests</A> )=20
<LI>Turba: 1.1 </LI></UL>
<H1>PHP Version</H1>
<UL>
<LI><A=20
=
href=3D"http://intranet.rastardm.com/horde/test.php?mode=3Dphpinfo">View =
phpinfo() screen</A>=20
<LI>PHP Version: 4.2.1=20
<LI>PHP Major Version: 4.2=20
<LI>PHP Minor Version: 1=20
<LI>PHP Version Classification: release=20
<LI><FONT color=3Dgreen>You are running a supported version of =
PHP.</FONT> </LI></UL>
<H1>PHP Module Capabilities</H1>
<UL>
<LI>FTP Support: <FONT color=3Dgreen><B>Yes</B></FONT>=20
<LI>Gettext Support: <FONT color=3Dgreen><B>Yes</B></FONT>=20
<LI>IMAP Support: <FONT color=3Dgreen><B>Yes</B></FONT>=20
<LI>LDAP Support: <FONT color=3Dred><B>No</B></FONT>=20
<LI>MCAL Support: <FONT color=3Dred><B>No</B></FONT>=20
<LI>Mcrypt Support: <FONT color=3Dred><B>No</B></FONT>=20
<LI>MySQL Support: <FONT color=3Dgreen><B>Yes</B></FONT>=20
<LI>PostgreSQL Support: <FONT color=3Dred><B>No</B></FONT>=20
<LI>XML Support: <FONT color=3Dgreen><B>Yes</B></FONT> =
</LI></UL>
<H1>Miscellaneous PHP Settings</H1>
<UL>
<LI>short_open_tag enabled: <FONT =
color=3Dgreen><B>Yes</B></FONT>=20
<LI>magic_quotes_runtime set to Off: <FONT=20
color=3Dgreen><B>Yes</B></FONT>=20
<LI>file_uploads enabled: <FONT =
color=3Dgreen><B>Yes</B></FONT> </LI></UL>
<H1>PHP Sessions</H1>
<UL>
<LI>Session counter: 3=20
<LI>To unregister the session: <A=20
=
href=3D"http://intranet.rastardm.com/horde/test.php?mode=3Dunregister">cl=
ick=20
here</A> </LI></UL>
<H1>PEAR</H1>
<UL>
<LI>PEAR - <FONT color=3Dgreen><B>Yes</B></FONT>=20
<LI>Recent PEAR - <FONT color=3Dgreen><B>Yes</B></FONT>=20
<LI>Mail::RFC822 - <FONT color=3Dgreen><B>Yes</B></FONT>=20
<LI>Log - <FONT color=3Dgreen><B>Yes</B></FONT>=20
<LI>DB - <FONT color=3Dgreen><B>Yes</B></FONT> </LI></UL>
<P align=3Dleft><A =
href=3D"http://validator.w3.org/check/referer"><IMG=20
height=3D31 alt=3D"Valid XHTML 1.0!" hspace=3D5=20
src=3D"http://validator.w3.org/images/vxhtml10" width=3D88 =
border=3D0>=20
</A></P></TD></TR></TBODY></TABLE>The above is output from =
test.php in the=20
root of the Horde directory. I hope that's enough.<BR><BR>The symptom =
is that=20
if I compose a message, and try to attach a file (any file), the =
attachment=20
never gets made. The way I understand it, the attachment is supposed =
to be=20
scanned for file-type and size, then copied to the /tmp directory =
until the=20
message is sent. I should also get a second 'attach window' from which =
I can=20
attach more files.<BR><BR>When I fill in the file path (either =
manually or=20
using the Browse... button) then click attach, nothing happens. No log =
entry=20
no new file attachment, nothing.<BR><BR>The one last thing that might =
be=20
relevant here is that this HORDE/IMP install is on another server from =
the=20
SMTP mail server. <BR></BLOCKQUOTE></BODY></HTML>
---------------------- multipart/alternative attachment--