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

Title: Does Horde honor the config qmail maxmessagesize setting?
Post 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?
Title: Re: Does Horder honor the config qmail maxmessagesize setting?
Post by: Jean-Philippe Pialasse on March 29, 2019, 02:13:50 PM
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
Title: Re: Does Horder honor the config qmail maxmessagesize setting?
Post by: mrjhb3 on March 30, 2019, 12:53:52 AM
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
Title: Re: Does Horder honor the config qmail maxmessagesize setting?
Post by: Michail Pappas on April 01, 2019, 10:04:02 AM
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!
Title: Re: Does Horde honor the config qmail maxmessagesize setting?
Post by: mmccarn on April 01, 2019, 11:35:51 AM
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