How do I change the maximum attachment size in Horde?

Created:

2016-11-16 12:47:14 UTC

Modified:

2017-08-16 18:35:23 UTC

1

Was this article helpful?


Have more questions?

Submit a request

How do I change the maximum attachment size in Horde?

Applicable to:

  • Plesk 11.x for Linux
  • Plesk 11.x for Windows

Symptoms

  1. Messages with big attached files are not sent.

  2. When I try to attach big file, I got error:

    Your session has expired. Please login again.

Cause

The following PHP values should be increased:

post_max_size
upload_max_filesize

Resolution

Check current PHP settings:

# grep -E "upload_max_filesize|post_max_size" /etc/psa-webmail/horde/horde/php.ini
upload_max_filesize = 64M
post_max_size = 128M

Check also horde 'attach_size_limit' value, it should be set to 0 (umnlimited):

# grep attach_size_limit /etc/psa-webmail/horde/imp/conf.php
$conf['compose']['attach_size_limit'] = 0;

Set higher values if it is required.

Have more questions? Submit a request
Please sign in to leave a comment.