33 lines
1.3 KiB
Cheetah
33 lines
1.3 KiB
Cheetah
|
compatibility_level = 2
|
||
|
queue_directory = /var/spool/postfix
|
||
|
command_directory = /usr/sbin
|
||
|
daemon_directory = /usr/lib/postfix
|
||
|
data_directory = /var/lib/postfix
|
||
|
mail_owner = postfix
|
||
|
myhostname = {{getenv "MYHOSTNAME"}}
|
||
|
mydomain = {{getenv "MYDOMAIN"}}
|
||
|
myorigin = $mydomain
|
||
|
mydestination = localhost
|
||
|
unknown_local_recipient_reject_code = 550
|
||
|
mynetworks_style = subnet
|
||
|
relay_domains = $mydestination
|
||
|
recipient_delimiter = +
|
||
|
mailbox_transport = lmtp:{{getenv "LMTPHOST"}}
|
||
|
smtpd_banner = $myhostname ESMTP $mail_name
|
||
|
virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap-virtual-mailbox-domains.cf
|
||
|
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap-virtual-mailbox-maps.cf
|
||
|
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap-virtual-alias-maps.cf
|
||
|
virtual_transport = lmtp:inet:{{getenv "LMTPHOST"}}:{{getenv "LMTPPORT"}}
|
||
|
dovecot_destination_recipient_limit = 1
|
||
|
smtpd_sasl_type = dovecot
|
||
|
smtpd_sasl_path = inet:{{getenv "DOVECOTHOST"}}:{{getenv "DOVECOTAUTHPORT"}}
|
||
|
smtpd_sasl_auth_enable = yes
|
||
|
smtpd_tls_security_level = {{getenv "TLSSECURITYLEVEL"}}
|
||
|
smtpd_tls_auth_only = yes
|
||
|
smtpd_milters =
|
||
|
inet:{{getenv "SPAMASSASSINHOST"}}:{{getenv "SPAMASSASSINPORT"}}
|
||
|
non_smtpd_milters = $smtpd_milters
|
||
|
milter_default_action = accept
|
||
|
milter_connect_macros = "i j {daemon_name} v {if_name} _"
|
||
|
message_size_limit = {{getenv "MESSAGESIZELIMIT"}}
|