Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: Michail Pappas on March 29, 2019, 01:12:01 PM
-
I've set qmail maxmessagesize to 25 Mb (yes I do know it is large), however when using horde there is a message that states that the maximum attachment size is 15Mb. Do you know why is that? Does horde (or php) use a different setting?
-
Good catch. Not verified yet but it seems probable that horde use a different setting or has it fixed in a template.
Horde might be limited by few factors:
- the one you point
- php max file size
- php max upload size
- any horde setting dedicated
-
Horde uses what is set in php.ini.
I have mine set to 35 MB
config show php
php=service
AllowUrlFopen=Off
MaxExecutionTime=1800
MemoryLimit=250M
PostMaxSize=35M
UploadMaxFilesize=35M
status=enabled
Make your db changes,
expand-template /etc/php.ini,
cat /etc/php.ini (Just to verify your changes are there)
signal-event email-update
Test
Thank you,
John
-
I see. So the "proper" way to handle it is modify php.ini, via the template mechanism.
Thanks for the info!
EDIT: I've misread your post, just setting 2 variables seems ok!
-
It used to be possible to adjust the php max upload file size using the configuration db:
https://wiki.contribs.org/Email#Set_max_email_size