Koozali.org: home of the SME Server

Does Horde honor the config qmail maxmessagesize setting?

Offline Michail Pappas

  • *
  • 339
  • +1/-0
Does Horde honor the config qmail maxmessagesize setting?
« 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?
« Last Edit: April 01, 2019, 10:13:51 AM by Michail Pappas »

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Does Horder honor the config qmail maxmessagesize setting?
« Reply #1 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

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: Does Horder honor the config qmail maxmessagesize setting?
« Reply #2 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
......

Offline Michail Pappas

  • *
  • 339
  • +1/-0
Re: Does Horder honor the config qmail maxmessagesize setting?
« Reply #3 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!
« Last Edit: April 01, 2019, 10:13:38 AM by Michail Pappas »

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Re: Does Horde honor the config qmail maxmessagesize setting?
« Reply #4 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