[imp] Re: imp Digest, Vol 243, Issue 4
End User
enduser at caris.com
Sat Dec 14 00:18:20 PST 2002
Thank you for the response. While trying a suggestion from another person on
the mailing list, I found the solution. His suggestion was to increase the
value of the MaxMessageSize variable in sendmail.cf. Although this was not
the solution to my problem, it was a very good suggestion and may be
something other people could try if they are having this type of problem.
Because of his suggestion, I started to look elsewhere for the solution and
finally found it.
It turned out to be a php directive that was not located in the php.ini file
but, rather, in the php.conf (\etc\httpd\conf.d\php.conf - on my system)
file called by apache at run time. The contents of the file are as follows:
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
I had to change the value of the LimitRequestBody variable. Increasing it to
match the upload_max_filesize variable in the php.ini file fixed my problem.
Alternatively, this value can be set to 0 (disabled) to avoid future
complications.
Thanks to all who replied. I hope this post helps other people having
similar problems. On the plus side, I learned some php while sifting through
the imp/horde files. ;-)
James
> Date: Fri, 13 Dec 2002 17:00:16 +0000
> From: Ahmed <ashihab@alcahest.com>
> To: imp@lists.horde.org
> Subject: Re: [imp] Can't Attach Files Larger Than 1MB When Composing
Message
> Message-ID: <1039798816.3dfa122013013@localhost>
> In-Reply-To: <004501c2a2bf$73fe63e0$49c8a8c0@caris.priv>
> References: <004501c2a2bf$73fe63e0$49c8a8c0@caris.priv>
> Content-Type: text/plain
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Precedence: list
> Message: 3
>
> I've had a similar problem a while back. The problem turned out to do with
> the vfs system configuration and some obscure problems with mySQL (which I
> presume you had used for the backend)
>
> the short answer is if you set the VFS system to use sql then there is a
> limit on SQL 'blob' to 1Mbytes approx (sounds fimiliar ?)
>
> there are two ways you can solve the problem:
>
> 1. plough through the SQL docs to findout how to change the maximum size
of
> type blob, or
>
> 2. make the VFS system use standard files system on the server.
>
> I opted for 2. which has been working fine, and is not a problem since the
> mail/horde server is a sealed sever with no easy public access.
>
> Hope this helps
>
> Ahmed...
>
>
> Quoting End User <enduser@caris.com>:
>
> > Hello Everyone,
> >
> > I have recently installed Horde v2.1 and Imp v3.1. My system specs
> > follow:
> >
> > OS: Redhat Linux 8.0
> > Platform: x86
> > PHP Ver: 4.2.2
> > Apache Ver: 2.40
> > Horde Ver: 2.1
> > Imp Ver: 3.1
> >
> > I have edited the following directives in my php.ini file and restarted
> > apache after each edit:
> >
> > post_max_size = 50M
> > file_uploads = On
> > max_execution_time = 60
> > memory_limit = 256M (I have tried more reasonable values as well ie:
> > 64MB)
> > upload_tmp_dir =/tmp
> > upload_max_filesize = 50M (I have even tried to increase/decrease this
to
> > a
> > larger/smaller value)
> >
> > Everything seems to be working fine except when I try to attach a file
> > larger than 1MB (actually around 500kb before encoding). When I try to
> > attach a large file I get redirected to a "The page cannot be displayed"
> > page in my browser (gg IE). I have extensively searched the web and,
> > although there are numerous posts on this topic, I have been
unsuccessful
> > in
> > finding one that matches mine.
> >
> > Does anyone have an idea about what the problem might be or, at least,
> > which
> > component is at fault? I am ruling out apache because small attachments
> > work
> > fine. Is there something in one of the horde or imp configuration files
> > that
> > would limit the allowed attachment size? If so, why would I not get the
> > error message, "file too large ....", defined in the compose.php file?
> >
> > Thanks in advance
> >
> >
> > --
> > IMP mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> >
> >
> >
> ------------------------------
>
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
> End of imp Digest, Vol 243, Issue 4
> ***********************************
>
More information about the imp
mailing list