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

Title: Email attachement size limit.
Post 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?
Title: Re: Email attachement size limit.
Post by: janet on May 03, 2008, 02:54:28 AM
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

Title: Re: Email attachement size limit.
Post by: calisun on May 06, 2008, 01:16:54 AM
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)
Title: Re: Email attachement size limit.
Post by: janet on May 06, 2008, 02:16:38 AM
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
Title: Re: Email attachement size limit.
Post by: calisun on May 06, 2008, 05:15:29 AM
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
Title: Re: Email attachement size limit.
Post by: janet on May 06, 2008, 05:27:49 AM
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


Title: Re: Email attachement size limit.
Post by: calisun on May 06, 2008, 06:55:22 AM
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)
Title: Re: Email attachement size limit.
Post by: janet on May 06, 2008, 07:53:36 AM
calisun

Quote
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
Title: Re: Email attachement size limit.
Post by: calisun on May 06, 2008, 08:43:16 AM
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
Title: Re: Email attachement size limit.
Post by: janet on May 06, 2008, 09:10:09 AM
calisun

Quote
No need to be condescending.

I wasn't.
You were not reading the information correctly, and I was pointing that out to you.