Changeset - 7c58a0eb0e5a
[Not reviewed]
0 3 0
Branko Majic (branko) - 7 years ago 2016-11-26 20:19:51
branko@majic.rs
MAR-77: Updated mail_server role to deliver undeliverable bounces to postmaster.
3 files changed with 8 insertions and 1 deletions:
0 comments (0 inline, 0 general)
docs/rolereference.rst
Show inline comments
 
@@ -866,6 +866,8 @@ Deployed services are configured as follows:
 
  order to maintain maximum interoperability.
 
* RBL's are used for combating spam (if any is specified in configuration, see
 
  below).
 
* Postfix is configured to deliver undeliverable bounces to postmaster. This
 
  helps with detecting misconfigured applications and servers.
 

	
 
Both Postfix and Dovecot expect a specific directory structure in LDAP when
 
doing look-ups:
docs/usage.rst
Show inline comments
 
@@ -748,7 +748,8 @@ role.
 
              dc: "example.com"
 

	
 
          # Finally, for the lolz, let's also add the standard postmaster alias
 
          # for our domain.
 
          # for our domain. This one will also receive any undeliverable bounced
 
          # mails.
 
          - dn: cn=postmaster@example.com,ou=aliases,ou=mail,ou=services,dc=example,dc=com
 
            attributes:
 
              objectClass: nisMailAlias
roles/mail_server/templates/main.cf.j2
Show inline comments
 
@@ -67,3 +67,7 @@ smtpd_recipient_restrictions = permit_mynetworks
 
  reject_unauth_destination
 
smtpd_milters = unix:/var/run/clamav/clamav-milter.ctl
 
non_smtpd_milters = unix:/var/run/clamav/clamav-milter.ctl
 

	
 
# Deliver undeliverable bounces to domain's postmaster. Helps with application
 
# misconfigurations.
 
notify_classes = resource, software, 2bounce
0 comments (0 inline, 0 general)