diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-11-04 20:27:25 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-12-07 22:01:34 +0300 |
commit | 768a77afd7ba0550d9c16943050bed476b125d38 (patch) | |
tree | b0da28e2552591a8baabfe268c02fd8e8184bc07 /doc | |
parent | 6f9ef2b76d3192525f2bb4ef909845787efeb4cc (diff) |
Allow admins to limit the size of attachements
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/admin.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/admin.md b/doc/admin.md index 95898c1e3..56447c737 100644 --- a/doc/admin.md +++ b/doc/admin.md @@ -7,7 +7,15 @@ Then open the Mail app from the app menu. Put in your mail account credentials a ## Configuration -Certain advanced or experimental features need to be specifically enabled in your `config.php`: +### Attachment size limit + +Admins can prevent users from attaching large attachments to their emails. Users will be asked to use link shares instead. + +```php +'app.mail.attachment-size-limit' => 3*1024*1024, +``` + +The unit is bytes. The example about with limit to 3MB attachments. The default is 0 bytes which means no upload limit. ### Timeouts Depending on your mail host, it may be necessary to increase your IMAP and/or SMTP timeout threshold. Currently IMAP defaults to 20 seconds and SMTP defaults to 2 seconds. They can be changed as follows: |