diff --git a/docs/rolereference.rst b/docs/rolereference.rst index 20f2be3a761b9902019f4e22dbf798ee4d5ebddb..61dcb33d7e33b8d442cda2692f792be02b311acc 100644 --- a/docs/rolereference.rst +++ b/docs/rolereference.rst @@ -1286,6 +1286,16 @@ Parameters recipients/aliases, while the value provided should be a space-separated list of mail addresses (or local users) where the mails should be forwarded. +**mail_message_size_limit** (integer, optional, ``10240000``) + Maximum size of message in bytes that the SMTP server should accept + for incoming mails. If the mail message size exceeds the listed + value, it will be rejected by the server. The size is also + advertised as part of SMTP server capabilities (in response to the + ``ehlo`` SMTP command). Changing the value is primarily useful when + SMTP from relay is allowed (via the ``smtp_from_relay_allowed`` + parameter), since incoming SMTP communication is otherwise not + allowed at all. + **smtp_from_relay_allowed** (boolean, optional, ``True``) Specify if SMTP traffic from SMTP relay should be allowed or not (for bounced messages, for example). This parameter should be set to ``False`` on systems