Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-11-04 20:27:25 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-12-07 22:01:34 +0300
commit768a77afd7ba0550d9c16943050bed476b125d38 (patch)
treeb0da28e2552591a8baabfe268c02fd8e8184bc07 /doc
parent6f9ef2b76d3192525f2bb4ef909845787efeb4cc (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.md10
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: