Koozali.org: home of the SME Server

Attachment size in webmail

SANKAR

Attachment size in webmail
« on: September 30, 2001, 12:57:23 AM »
All,

    Can anybody help in fixing the attachment size in the webmail.
I have modified the /etc/php.ini file as follows

upload_max_size =200M  ;200megabytes
post_max_size= 200M     ;200Megabytes

When I try to upload the 200mb attachement I am getting "Navigation cancelled"
message in the browser.

10mb attachement works fine.

Help is appreciated

Sankar

Luke Drumm

Re: Attachment size in webmail
« Reply #1 on: October 01, 2001, 02:50:47 AM »
A wild stab in the dark here...

Here are my guesses on possible reasons:

1 - 200Mb is probably taking a while to transfer over the network.
Browsers in general aren't interested in how long it takes to transmit stuff. All their interested in is how soon they receive a reply back from a web server. A file this large may be chewing the web servers time for longer than the web browser is willing to wait.

2 - PHP has some (hardwired) limit that is below 200Mb (despite not raising an error).

I can't offer much in the way of advice, short of posting messages to the IMP and PHP boards, but it may give you some ideas on paths to pursue.

Regards,
Luke

SANKAR

Re: Attachment size in webmail
« Reply #2 on: October 02, 2001, 08:41:17 AM »
Thanks luke I will pursue your idea of posting it in the IMP or PHP boards.

Rich Lafferty

Re: Attachment size in webmail
« Reply #3 on: October 02, 2001, 07:34:18 PM »
I'd bet that your browser is timing out entirely on its own. Unfortunately, that message it's giving you isn't very useful! If that's one of Internet Explorer's "helpful" errors, you might wish to try it with another browser that reports exactly what the server responded.

You could also take a look in your webserver logs in /var/log/httpd and see what the server is seeing when you try to mail that file.

You might try specifying the upload_max_size in bytes rather than using the 'M' suffix.

Of course, there's something to be said for using something other than email for sending 200MB files around, a practice which may make you unpopular with the sysadmins of any mail servers that message passes through that aren't under your control. :-) It's certainly outside the envelope that IMP is tested with.

-Rich

SANKAR

Re: Attachment size in webmail
« Reply #4 on: October 03, 2001, 08:26:34 AM »
I will try with another browser and as well as look into the /var/log/httpd.
I am not sending this 200MB of data outside the e-smith server. I am
sending to another account in the same server.

Sankar