Sha256: 0838a9858b6ce81451a94d9b4316cb005169e63dc3ac131be8eae0114ff92a25

Contents?: true

Size: 1.07 KB

Versions: 4

Compression:

Stored size: 1.07 KB

Contents

smtpd_banner = $myhostname ESMTP $mail_name
biff = no

# TLS parameters
smtpd_use_tls = <%= @variables[:use_tls] %>
smtpd_tls_auth_only = <%= @variables[:use_tls] %>
smtpd_tls_cert_file = <%= @variables[:ssl_cert] %>
smtpd_tls_key_file = <%= @variables[:ssl_key] %>
smtpd_tls_CAfile = <%= @variables[:ssl_cacert] %>

smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = <%= @variables[:hostname] %>
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = <%= @variables[:hostname] %>, localhost
relayhost = <%= @variables[:relayhost] %>
mynetworks = <%= @variables[:mynetworks] %> 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = ipv4

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
danarchy_deploy-0.2.11 templates/services/postfix/main.cf.erb
danarchy_deploy-0.2.10 templates/services/postfix/main.cf.erb
danarchy_deploy-0.2.9 templates/services/postfix/main.cf.erb
danarchy_deploy-0.2.8 templates/services/postfix/main.cf.erb