mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
email: Increase the size of the message to 100MiB
- This includes the envelope size, so the actual size of the message and attachments is somewhat lower. Tests: - Install the app freshly with the patch. Notice that message_size_limit is set to 102400000 by running 'postconf message_size_limit'. - Install the app without the patch. Apply patche and notice that the app is updated. Notice that message_size_limit is set to 102400000 by running 'postconf message_size_limit'. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
fd1955a084
commit
a11197b285
@ -53,7 +53,7 @@ class EmailApp(plinth.app.App):
|
|||||||
|
|
||||||
app_id = 'email'
|
app_id = 'email'
|
||||||
|
|
||||||
_version = 3
|
_version = 4
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
"""Initialize the email app."""
|
"""Initialize the email app."""
|
||||||
|
|||||||
@ -29,7 +29,9 @@ default_config = {
|
|||||||
','.join([
|
','.join([
|
||||||
'permit_sasl_authenticated',
|
'permit_sasl_authenticated',
|
||||||
'defer_unauth_destination',
|
'defer_unauth_destination',
|
||||||
])
|
]),
|
||||||
|
'message_size_limit':
|
||||||
|
'102400000',
|
||||||
}
|
}
|
||||||
|
|
||||||
submission_options: dict[str, str] = {
|
submission_options: dict[str, str] = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user