Fw: [imp] Attachments Not Working

Parag Godkar paragg@konark.ncst.ernet.in
Tue, 23 Jul 2002 20:35:10 +0530


This is a multi-part message in MIME format.

---------------------- multipart/alternative attachment

----- Original Message -----=20
From: Peter Robbins=20
To: Parag Godkar=20
Sent: Tuesday, July 23, 2002 7:17 PM
Subject: Re: [imp] Attachments Not Working


No, I have tried numerous different files from 5k to 800k.
Also, our php.ini file is set to:
upload_max_filesize=3D20MB

Parag Godkar wrote:

  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></HEAD>
<BODY bgColor=3D#ffffff>
<DIV>&nbsp;</DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
title=3Dprobbins@rastardm.com =
href=3D"mailto:probbins@rastardm.com">Peter=20
Robbins</A> </DIV>
<DIV><B>To:</B> <A title=3Dparagg@konark.ncst.ernet.in=20
href=3D"mailto:paragg@konark.ncst.ernet.in">Parag Godkar</A> </DIV>
<DIV><B>Sent:</B> Tuesday, July 23, 2002 7:17 PM</DIV>
<DIV><B>Subject:</B> Re: [imp] Attachments Not Working</DIV></DIV>
<DIV><BR></DIV>No, I have tried numerous different files from 5k to=20
800k.<BR>Also, our php.ini file is set=20
to:<BR>upload_max_filesize=3D20MB<BR><BR>Parag Godkar wrote:<BR>
<BLOCKQUOTE cite=3Dmid:00c501c2322a$a8f8ad40$ad978dca@sharayu =
type=3D"cite">
  <META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
  <STYLE></STYLE>

  <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>&nbsp;</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 =

  -</FONT></DIV>
  <DIV>&nbsp;</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: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
    <DIV=20
    style=3D"FONT: 10pt arial; font-stretch: normal; font-size-adjust: =
none">-----=20
    Original Message ----- </DIV>
    <DIV=20
    style=3D"BACKGROUND-ATTACHMENT: scroll; BACKGROUND-IMAGE: none; =
FONT: 10pt arial; BACKGROUND-REPEAT: repeat; BACKGROUND-COLOR: =
rgb(228,228,228); font-stretch: normal; font-size-adjust: none; =
x-background-x-position: 0%; x-background-y-position: 0%"><B>From:</B><A =

    title=3Dprobbins@rastardm.com href=3D"mailto:probbins@rastardm.com"> =
Peter=20
    Robbins</A> </DIV>
    <DIV=20
    style=3D"FONT: 10pt arial; font-stretch: normal; font-size-adjust: =
none"><B>To:</B><A=20
    title=3Dimp@lists.horde.org =
href=3D"mailto:imp@lists.horde.org">imp</A> </DIV>
    <DIV=20
    style=3D"FONT: 10pt arial; font-stretch: normal; font-size-adjust: =
none"><B>Sent:</B>=20
    Tuesday, July 23, 2002 4:38 AM</DIV>
    <DIV=20
    style=3D"FONT: 10pt arial; font-stretch: normal; font-size-adjust: =
none"><B>Subject:</B>=20
    [imp] Attachments Not Working</DIV>
    <DIV><BR></DIV>Here is the synopsis of our config and then the =
symptoms of=20
    the 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=20
            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>=20
          </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
          moz-do-not-send=3D"true"> =
</A></P></TD></TR></TBODY></TABLE>The above is=20
    output from test.php in the root of the Horde directory. I hope =
that's=20
    enough.<BR><BR>The symptom is that if I compose a message, and try =
to attach=20
    a file (any file), the attachment never gets made. The way I =
understand it,=20
    the attachment is supposed to be scanned for file-type and size, =
then copied=20
    to the /tmp directory until the message is sent. I should also get a =
second=20
    'attach window' from which I can attach more files.<BR><BR>When I =
fill in=20
    the file path (either manually or using the Browse... button) then =
click=20
    attach, nothing happens. No log entry no new file attachment,=20
    nothing.<BR><BR>The one last thing that might be relevant here is =
that this=20
    HORDE/IMP install is on another server from the SMTP mail server.=20
  <BR></BLOCKQUOTE></BLOCKQUOTE><BR></BODY></HTML>

---------------------- multipart/alternative attachment--