diff --git a/docs/rolereference.rst b/docs/rolereference.rst index 3feb770c857178951e2ecdc5bde4a7b74c301f0e..53f26db315944fdae628b5eb4fe898cde4ab3c93 100644 --- a/docs/rolereference.rst +++ b/docs/rolereference.rst @@ -1230,6 +1230,13 @@ 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. +**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 + behind NAT or on systems that may not have constant network connectivity (such + as laptops) to avoid firewall failures since SMTP relay name needs to be + resolvable. + **smtp_relay_host** (string, optional, ``None``) SMTP server via which the mails are sent out for non-local recipients. @@ -1264,6 +1271,8 @@ Here is an example configuration for setting-up the mail forwarder: smtp_relay_host: mail.example.com + smtp_from_relay_allowed: False + smtp_relay_truststore: /etc/ssl/certs/example_ca_chain.pem