Changeset - f81da93be521
[Not reviewed]
0 2 0
Branko Majic (branko) - 4 years ago 2020-12-22 20:32:54
branko@majic.rs
MAR-175: Add the inet_interfaces and inet_protocols option to mail_forwarder Postfix configuration (sync with current Debian Buster stock configuration).
2 files changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
docs/releasenotes.rst
Show inline comments
 
@@ -154,12 +154,15 @@ upgrade to Python 3.x, dropping support for Python 2.7.
 
* ``mail_forwader`` role
 

	
 
  * The role now supports specifying the maximum mail message size
 
    limit for the SMTP server to accept via
 
    ``mail_message_size_limit`` role parameter.
 

	
 
  * Mail server configuration has been slightly updated to better
 
    match what is currently the defaults in Debian Stretch.
 

	
 
* ``mail_server`` role
 

	
 
  * The role now supports specifying the maximum mail message size
 
    limit for the SMTP server to accept via
 
    ``mail_message_size_limit`` role parameter.
 

	
roles/mail_forwarder/templates/main.cf.j2
Show inline comments
 
@@ -40,12 +40,14 @@ myorigin = /etc/mailname
 
mydestination = {{ inventory_hostname }}, {{ inventory_hostname_short }}, localhost.localdomain, localhost
 
relayhost = {{ smtp_relay_host }}{% if smtp_relay_host and smtp_relay_host_port %}:{{ smtp_relay_host_port }}{% endif %}{{ '' }}
 
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
 
mailbox_command = procmail -a "$EXTENSION"
 
mailbox_size_limit = 0
 
recipient_delimiter = +
 
inet_interfaces = all
 
inet_protocols = all
 

	
 
# Fall-back to using native lookups (/etc/hosts etc) if DNS lookup fails. Useful
 
# for local overrides of mail servers.
 
smtp_host_lookup = dns, native
 

	
 
# Explicitly set maximum allowed mail size that should be accepted.
0 comments (0 inline, 0 general)