Add debian common role
This commit is contained in:
22
common-debian/templates/etc/postfix/main.cf.j2
Normal file
22
common-debian/templates/etc/postfix/main.cf.j2
Normal file
@ -0,0 +1,22 @@
|
||||
# Postfix main configuration for non-MTA hosts
|
||||
# {{ ansible_managed }}
|
||||
|
||||
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
|
||||
biff = no
|
||||
append_dot_mydomain = no
|
||||
readme_directory = no
|
||||
smtpd_use_tls=no
|
||||
|
||||
alias_maps = hash:/etc/postfix/aliases
|
||||
alias_database = hash:/etc/postfix/aliases
|
||||
mydestination =
|
||||
relayhost = {{ postfix_relay }}
|
||||
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
|
||||
mailbox_size_limit = 0
|
||||
recipient_delimiter = +
|
||||
myorigin = $mydomain
|
||||
mydomain = {{ postfix_domain }}
|
||||
#inet_interfaces = 127.0.0.1,::1
|
||||
inet_interfaces = 127.0.0.1
|
||||
#inet_protocols = ipv4,ipv6
|
||||
inet_protocols = ipv4
|
Reference in New Issue
Block a user