Koozali.org: home of the SME Server

What am I doing wrong?

Offline calisun

  • *
  • 620
  • +0/-1
What am I doing wrong?
« 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)
« Last Edit: February 27, 2008, 02:36:50 AM by calisun »
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: What am I doing wrong?
« Reply #1 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.