Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: calisun on February 27, 2008, 02:35:06 AM

Title: What am I doing wrong?
Post by: calisun on February 27, 2008, 02:35:06 AM
I have tried to increase size of webmail attachments,
Right now I see a message: (Maximum Attachment Size: 10,485,760 bytes)

So I did ssh connection as root, gave a command:

config setprop qmail MaxMessageSize 20000000
signal-event email-update

but I still see the same message
(Maximum Attachment Size: 10,485,760 bytes)
Title: Re: What am I doing wrong?
Post by: imcintyre on February 27, 2008, 03:26:58 AM
I'm going out on a limb here and from memory but, I think that limit only applies downward and that to move the limit upward you also have to look at the php.ini settings.

try this command as root
Quote
config show php

I previously adjusted my settings to 30M, so I get
Quote
php=service
    AllowUrlFopen=Off
    PostMaxSize=30M
    UploadMaxFilesize=30M
    status=enabled

and then adjust MaxMessageSize accordingly

Quote
config show qmail MaxMessageSize
qmail=service
    MaxMessageSize=30000000
    status=enabled


See this posting and then scroll down to "adjusting uploading max file size"

http://wiki.contribs.org/Webshare

Again from memory so please write down your changes in case of having to backtrack.