Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: calisun on November 13, 2006, 11:20:05 PM
-
There is an emplyee at our office here that is trying to email 7.6meg email attachement, the message says (Maximum Attachment Size: 10,485,760 bytes)
When he hits "attach" button, it uploads the file and shows the file as attachement, but when he hits send button, the window just goes white and nothing happens, the email never gets send.
-
The limit is 15MB by default which can be changed via the DB configuration, I would check the /var/log/qpsmtpd/current logs for a message which it may say message too big...don't forget the email overhead including attachment size.
HTH
Edit - As you mention via webmail that would mean you are over the 10MB webmail limit
-
How can a 7.6MEG attachment be over the limit of 10MEG?
-
How can a 7.6MEG attachment be over the limit of 10MEG?
Don't forget it doesn't include any email overheads!
-
I just checked log files and I found this:
PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10343505 bytes) in /home/httpd/html/horde/lib/Horde/MIME/Part.php on line 1095
How big are the overheads, and what is the actual attachment size allowed?
-
Here's someone who describes the same symptoms:
http://forums.contribs.org/index.php?topic=34014.0
Who says he fixed it by changing the PHP memory limits, possibly according to this post: http://forums.contribs.org/index.php?topic=33486.0
This is a horde / php / webmail issue, rather than an "email" issue...
-
This is a horde / php / webmail issue
People had this problem in the old days of SME when the webmail limit was only 2MB (which you could change) following post above will allow you to send bigger attachments.
I would have said possible a 5/6MB file with a reasonable normal amount of email message would be ok.
-
I just checked log files and I found this:
PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10343505 bytes) in /home/httpd/html/horde/lib/Horde/MIME/Part.php on line 1095
How big are the overheads, and what is the actual attachment size allowed?
You hit the php 32M default memory limit.
memory_limit = {
my $ml = $php{MemoryLimit} || "32M";
$OUT .= "$ml";
See this post (http://forums.contribs.org/index.php?topic=33486.msg142868#msg142868) for the command to use to increase the value..
-
Why is there not a clickety method or something in the server manager to change the send and receive size limits for email ?
Please explain this to me ?
This is one of the simplest of things needed.
Especially for business use, I want to send someone a cad drawing or some script to have work done on it. I can't even send it. The one script I need someone to work on for me is like 25megs unzipped and I can't send it.
I do not want any limits on my sending capacity or at least I want much much higher limits ?
Is this the only way to fix this is to edit some files ? And These Commands ?
And what happens when I do upgrades? Will those changes be gone and I'll have to do it again ?
Please advise
Thanks
-
Why is there not a clickety method or something in the server manager to change the send and receive size limits for email ?
Please explain this to me ?
This is one of the simplest of things needed.
Especially for business use, I want to send someone a cad drawing or some script to have work done on it. I can't even send it. The one script I need someone to work on for me is like 25megs unzipped and I can't send it.
I do not want any limits on my sending capacity or at least I want much much higher limits ?
Is this the only way to fix this is to edit some files ? And These Commands ?
And what happens when I do upgrades? Will those changes be gone and I'll have to do it again ?
Please advise
Thanks
You could always sponser one of the devs to get the work done. As it has been stated many times, there are many requests that come in, but far few developers to handle the requests, and far too many of us that want something done, but don't want to contribute to the cause.
Your config DB settings are maintained during an upgrade, and they are restored during a restore, so if you make changes, they are retained.
John
-
I do not want any limits on my sending capacity or at least I want much much higher limits ?
Please advise
Thanks
Are these the limits with using an email client and not webmail ?
If so, try..
config delprop qmail MaxMessageSize
signal-event email-update
-
You could always sponser one of the devs to get the work done. As it has been stated many times, there are many requests that come in, but far few developers to handle the requests, and far too many of us that want something done, but don't want to contribute to the cause.
Your config DB settings are maintained during an upgrade, and they are restored during a restore, so if you make changes, they are retained.
John
I need to do some sponsoring,this is true; and thanks for the info on the DB settings
I'll work on that some and see how it goes.
I'll look more closely into the sponsoring topics I've not had much time to really understand the process etc.
Thanks again.
-
I do not want any limits on my sending capacity or at least I want much much higher limits ?
Please advise
Thanks
Are these the limits with using an email client and not webmail ?
If so, try..
config delprop qmail MaxMessageSize
signal-event email-update
Well it seemt to be both webmail and client problem as it appears In searching the forums. Except the webmail give a blank page but the client will tells you exceeds the globe size of the server and to try sending smaller file and things like that.
But I think the max size for sending mail by default is 15MB sending size from what I can tell reading the forums thus the edits that have been listed for editing the DB
I know nothing of it but just what I'm reading on it. just fyi
and thanks
-
Ok so to conclude on the email size limits based on what I've been reading and for fellow newbies LOL
Read to the end to see william_syd's post of commands and examples which he has corrected me on
But for client sending larger attachment, the following commands did appear to fix things for my client attachments
config delprop qmail MaxMessageSize
signal-event email-update
Anyhow Thats All I know
Thanks
-
I want to send someone a cad drawing or some script to have work done on it. I can't even send it. The one script I need someone to work on for me is like 25megs unzipped and I can't send it.
I do not want any limits on my sending capacity or at least I want much much higher limits ?
What you should remember is that the email protocol is not designed for transferring huge files as most of the servers in the world have a limit for example I know in the dial up days the limit used to be 2MB these days the general rule is for these days I would say 10/15MB even that is still big in email terms.
-
Now with sending to webmail to test the attachment size topic ?
I add an attachment of 1.rar file and 1.zip file
Then click on update button, then click send message.
A popup screen comes up and says:
You have chosen to open compose.php
from http://foolishlys.com what should the webbrowser to with this file
Open with ( browse)
save to disk
do this automatically with files like this from now on.
I don't know why this would popup,
This seems to be a standard firefox message when opening files I've downloaded or something but this is now getting ridiculous LOL
Anyhow I can't test my webmail to see if the large attachment changes are working ?
I don't recall getting this popup message before when sending attachments ? with webmail
I believe before it just gave me a blank page when sending attachements that are too large ?
Anyhow now what ?
-
I want to send someone a cad drawing or some script to have work done on it. I can't even send it. The one script I need someone to work on for me is like 25megs unzipped and I can't send it.
I do not want any limits on my sending capacity or at least I want much much higher limits ?
What you should remember is that the email protocol is not designed for transferring huge files as most of the servers in the world have a limit for example I know in the dial up days the limit used to be 2MB these days the general rule is for these days I would say 10/15MB even that is still big in email terms.
Yep I think your right, but what to do in the case of sending a large set of cad drawings ? like 40 meg. ? or so isn't it good to have at least some type of account to send this or should I post to ibay and send the link or something.
But basically this seems to be an ongoing problem I'm have work done on a script or things worked on and I can't send a zip file or s series of a few files cause I have limitations.
I do know that when sending large files to my comcast account they were rejected due to being too large.
so perhaps I should change the limits back to defaults or something
And with my webmail popup effect that now occurs I'm not sure what to do now or how to work around that too.
Thanks
Steve
-
Yep I think your right, but what to do in the case of sending a large set of cad drawings ? like 40 meg. ? or so isn't it good to have at least some type of account to send this or should I post to ibay and send the link or something.
I setup a ftp location for our CAD team to transfer drawings, or depending if they need to edit them I would get them to pdf them then send via email.
-
login as root:
config setprop php MemoryLimit nnnn
config setprop php PostMaxSize mmmm
config setprop php UploadMaxFilesize pppp
expand-template /etc/php.ini
/etc/rc7.d/S86httpd-e-smith restart
example:
[root@myserver ~]# config setprop php MemoryLimit 32M
[root@myserver ~]# config setprop php max_execution_time 300
[root@myserver ~]# config setprop php upload_max_filesize 32M
[root@myserver ~]# config setprop php post_max_size 32M
[root@myserver ~]# expand-template /etc/php.ini
[root@myserver ~]# /etc/rc7.d/S86httpd-e-smith restart
From the zend/php developer manual.
post_max_size integer
Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize.
If memory limit is enabled by your configure script, memory_limit also affects file uploading. Generally speaking, memory_limit should be larger than post_max_size.
http://devzone.zend.com/manual/view/page/
Default SME values are..
MemoryLimit 32M
PostMaxSize 20M
UploadMaxFilesize 10M
MaxExecutionTime 30
MaxMessageSize 15000000
Note also there is no underscore in these php properties used in the configuration db .
To correct your example..
[root@myserver ~]# config delprop php MemoryLimit
[root@myserver ~]# config delprop php max_execution_time
[root@myserver ~]# config delprop php upload_max_filesize
[root@myserver ~]# config delprop php post_max_size
Then (my recommendation)..
[root@myserver ~]# config setprop php MemoryLimit 128M
[root@myserver ~]# config setprop php PostMaxSize 100M
[root@myserver ~]# config setprop php UploadMaxFilesize 50M
[root@myserver ~]# config setprop php MaxExecutionTime 600
[root@myserver ~]# expand-template /etc/php.ini
[root@myserver ~]# /etc/rc7.d/S86httpd-e-smith restart
-
No underscore ? got it
Thanks, I'm glad I didn't break anything
Please advise further on this subject
-
Please advise further on this subject
I was in the middle of an edit when you posted. Please see my post above.
-
So will these limits only effect the email?
What about the file storage limits for the file manager, which is one of the RPM's for Gollem I've installed ?
Any concerns here ?
-
So will these limits only effect the email?
What about the file storage limits for the file manager, which is one of the RPM's for Gollem I've installed ?
Any concerns here ?
I don't have the Gollem RPM installed.
You question is best answered by mrjhb3 the resident Horde guru.
-
Thanks
-
Now with sending to webmail to test the attachment size topic ?
I don't understand what you are saying here. That doesn't seem to be a valid English question to me.
I add an attachment of 1.rar file and 1.zip file
Then click on update button, then click send message.
A popup screen comes up and says:
You have chosen to open compose.php
from http://foolishylys.com what should the webbrowser to with this file
Open with ( browse)
save to disk
do this automatically with files like this from now on.
I don't know why this would popup,
I don't know either. It shouldn't. Have you reported this problem via the Bug Tracker?
-
I was typing too fast sorry about that.
I meant I was going to test sending attachements with webmail as oppose to sending with my client to test things out some more.
And basically I've got this popup screen.
I'll test a few more times now that I've made a few changes with those commands you gave me for file sizes and things.
Thanks this has really helped me a lot I was starting to get a little discouraged with my SME server trying to make it due the things I want it to ?
Thanks again.
-
And basically I've got this popup screen.
...
Have you reported the problem via the Bug Tracker?
-
Hi and thanks
I did not get this screen from work, but only from home on the LAN
I did not report the bug until I can be sure that it is a bug and not some setting on my workstation, but I will
Thanks
-
Hi
FYI after restarting the workstation the popup window that was appearing is not appearing now.
Must have just been a fluke
Thanks
-
Hi Agent86,
How about the webshare contrib? With this you could upload the 40mb file, send a link and the other person (using a user name and password) can download it, edit it and then upload it and email you that it is finished :D
That's what I do.
Regards,
Del
-
Well I do that now with Ibays, but I can really navigate a folder basically I have to enter the exact name of the file for example
www.domainname.com/ibayname/filename
not a problem really but would be nice to be able to browse to the folders or files and download or upload
I'm concerned about the contrib when updating what happens to the contribs ?
Please advise
Thanks
-
Nothing happens to them. There can be issues if a contrib isn't supported on update, but i didn't have any problems with updating to this day.
And try the webshare contrib. Then you'll be able to browse, upload and download files.
-
I'm sorry but I can't find the contribs page any more?
-
I'm sorry but I can't find the contribs page any more?
http://mirror.contribs.org/smeserver/contribs//dmay/smeserver/7.x/smeserver-webshare-1.0.0-8dmay.noarch.rpm
http://mirror.contribs.org/smeserver/contribs//dmay/smeserver/7.x/perl-Apache-Htpasswd-1.5.9-1.1.el3.rf.noarch.rpm
-
I'm sorry but I can't find the contribs page any more?
http://mirror.contribs.org/smeserver/contribs//dmay/smeserver/7.x/smeserver-webshare-1.0.0-8dmay.noarch.rpm
http://mirror.contribs.org/smeserver/contribs//dmay/smeserver/7.x/perl-Apache-Htpasswd-1.5.9-1.1.el3.rf.noarch.rpm
Thanks
Do you know how this contrib might effect Gollem, or smeserver-remoteuseraccess rpm, which automatically chroot's each user to their home directory ?
I'm concerned that this may somehow cancel each other out LOL ?
Please advise
Thanks
-
I'm sorry but I can't find the contribs page any more?
http://mirror.contribs.org/smeserver/contribs//dmay/smeserver/7.x/smeserver-webshare-1.0.0-8dmay.noarch.rpm
http://mirror.contribs.org/smeserver/contribs//dmay/smeserver/7.x/perl-Apache-Htpasswd-1.5.9-1.1.el3.rf.noarch.rpm
Thanks
Do you know how this contrib might effect Gollem, or smeserver-remoteuseraccess rpm, which automatically chroot's each user to their home directory ?
I'm concerned that this may somehow cancel each other out LOL ?
Please advise
Thanks
Gollem does an ftp under the covers. The webshare gives you secure https access to files. In my testing, they didn't conflict at all because they serve two different purposes.
JB
-
Thanks that what I was hoping
-
Webshare makes folders like ibays and gollem works like a ftp program so they not only do different things but they connect to different folders (gollem = ibay, user dir ; webshare = webshare dir)
-
I installed the smeserver-webshare-1.0.0-8dmay.noarch.rpm first and in complained about no perl-Apache-Htpasswd-1.5.9-1.1.el3.rf.noarch.rpm or something similar.
So I installed the perl-Apache-Htpasswd-1.5.9-1.1.el3.rf.noarch.rpm
reconfig, then reboot
Then installed the smeserver-webshare-1.0.0-8dmay.noarch.rpm
And this appeared during the install
I'm not sure if this is normal or not I just wanted to be sure nothing was broken now ?
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pmline 237, <LEXIN> line 42.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm line 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pmline 237, <LEXIN> line 99.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm line 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pmline 237, <LEXIN> line 155.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm line 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pmline 237, <LEXIN> line 211.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm line 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pmline 237, <LEXIN> line 268.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm line 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pmline 237, <LEXIN> line 325.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm line 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pmline 237, <LEXIN> line 382.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm line 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
smeserver trap post-install: smeserver-webshare
Please advise
Thanks
-
Nothing happens to them. There can be issues if a contrib isn't supported on update, but i didn't have any problems with updating to this day.
And try the webshare contrib. Then you'll be able to browse, upload and download files.
Is there a file limitation size for webshare contrib
I've installed and am having a problem uploading a 81MB zip file from work client computer on windoze ?
Please advise