Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: calisun on May 03, 2008, 02:51:52 AM
-
I know this has been discussed here before many times on how to increase email attachment size. I have found a way on how to do it:
config setprop qmail MaxMessageSize x
signal-event email-update
My question is, I use webmail, and no matter what number I put after MaxMessageSize, the webmail always shows: (Maximum Attachment Size: 10,485,760 bytes)
What gives? What am I doing wrong?
-
calisun
Please read all the FAQs
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Large_attachments_not_displaying_in_webmail
...and the Howtos
http://wiki.contribs.org/DB_Variables_Configuration#Php
-
Ok,
I did as suggested by the links provided by Mary.
The commands I gave were:
db configuration setprop php post_max_size 30M
db configuration setprop php upload_max_filesize 30M
expand-template /etc/php.ini
/etc/init.d/httpd-e-smith restart
but my webmail still shows: (Maximum Attachment Size: 10,485,760 bytes)
-
calisun
Did you not even read the first link where it says
db configuration setprop php MemoryLimit XXM
expand-template /etc/php.ini
sv t httpd-e-smith
In addition to what you have already done and the above, you should also adjust
MemoryLimit
and
MaxExecutionTime
as per the second link
-
Did you not even read the first link
Yes I did, and I did:
db configuration setprop php MemmoryLimit 50M
expand-template /etc/php.ini
sv t httpd-e-smith
-
calisun
> MemmoryLimit
The wiki spelt that incorrectly.
You should do
db configuration delprop php MemmoryLimit
and then do
db configuration setprop php MemoryLimit 50M
expand-template /etc/php.ini
sv t httpd-e-smith
-
I did:
db configuration setprop php MemoryLimit 50M
expand-template /etc/php.ini
sv t httpd-e-smith
db configuration setprop php post_max_size 30M
db configuration setprop php upload_max_filesize 30M
expand-template /etc/php.ini
/etc/init.d/httpd-e-smith restart
Than I did reconfigure and reboot,
but my webmail still shows: (Maximum Attachment Size: 10,485,760 bytes)
-
calisun
db configuration setprop php post_max_size 30M
db configuration setprop php upload_max_filesize 30M
Are you really bothering to carefully read the links provided earlier ?
The second link says:
db configuration setprop php variable value
and the names in the table for the variable column are:
PostMaxSize
UploadMaxFilesize
MemoryLimit
MaxExecutionTime
Try those commands again using the correct variable names, and delete the incorrect ones using the command syntax previously advised
-
Are you really bothering to carefully read the links provided earlier ?....
Did you not even read the first link.....
No need to be condescending.
and yes, I was taking information from wrong column, from Target column but should be Variable column.
Works now, thanks
-
calisun
No need to be condescending.
I wasn't.
You were not reading the information correctly, and I was pointing that out to you.