Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: mudtoe on August 27, 2006, 09:04:51 AM
-
Hi folks:
Does anyone know how to change the attachment size for the webmail component? I found out in the various posts and documents how to change the size for other things (e.g. qmail), but I haven't been able to find out where the setting is kept for the webmail component. The old troubleshooting FAQ described the procedure for php, squid, etc., but not Hoard.
mudtoe
-
mudtoe
The search function will help you find many answers.
I believe UploadMaxFilesize setting is the one you are after.
http://forums.contribs.org/index.php?topic=32451.msg137845#msg137845
-
I made the changes that the message you referred me to indicated. Here are the resulting settings:
[root@smeserver ~]# db configuration show php
php=service
AllowUrlFopen=Off
PostMaxSize=40M
UploadMaxFileSize=40M
status=enabled
[root@smeserver ~]#
Unfortunately, it still doesn't work. What happens now is that the web gui will only allow files of less than 10MB in size to be attached, but it will allow multiple files of less that 10MB to be attached for a total of more than 10MB. However, when I hit the send button the page crashes. A dialog box comes up asking about viewing non-secure pages, and when I say yes, I just get a message saying the page could not be displayed. The email isn't sent, and it's not in the draft folder either, when I log back in.
Now, I can send large attachments through outlook using IMAP, so some of the settings are effective in that situation.
mudtoe
-
mudtoe
> db configuration show php
> php=service
> AllowUrlFopen=Off
> PostMaxSize=40M
> UploadMaxFileSize=40M
> status=enabled
> Unfortunately, it still doesn't work.
Run all these commands & check your spelling carefully
You will need to do this first to remove your incorrect entry
config delprop php UploadMaxFileSize
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
You can also make entries like this
config show php
php=service
AllowUrlFopen=Off
MaxExecutionTime=18000
MemoryLimit=1000000000
PostMaxSize=250000000
UploadMaxFilesize=250000000
status=enabled
-
:oops: .... bows in reverence
You were absolutely correct, I had misspelled something. I also didn't bother changing the memory setting, which I think may have caused the web page to crash, as I saw a message in the log about running out of memory, when I went back and checked. Just to make sure I didn't mispell anything I cut and pasted the commands from your post, and now everything works great!
I appreciate your assistance and patience.
mudtoe