forked from infra/ansible
Use more variables for mail templates.
This commit is contained in:
parent
fbcac9f826
commit
68cdb42b77
@ -97,6 +97,6 @@ namespace inbox {
|
||||
}
|
||||
mailbox "Sent Messages" {
|
||||
special_use = \Sent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
server_host = {{ ldap_host }}
|
||||
start_tls = yes
|
||||
#tls_ca_cert_file =
|
||||
#tls_ca_cert_file = TODO
|
||||
#tls_require_cert = yes
|
||||
bind = yes
|
||||
bind_dn = {{ ldap_binddn }}
|
||||
|
@ -1,13 +1,13 @@
|
||||
server_host = {{ ldap_host }}
|
||||
start_tls = yes
|
||||
#tls_ca_cert_file =
|
||||
#tls_ca_cert_file = TODO
|
||||
#tls_require_cert = yes
|
||||
bind = yes
|
||||
bind_dn = {{ ldap_binddn }}
|
||||
bind_pw = {{ ldap_bindpw }}
|
||||
version = 3
|
||||
|
||||
search_base = dc=binary-kitchen,dc=de
|
||||
search_base = {{ ldap_base }}
|
||||
query_filter = (&(objectClass=mailUser)(mail=%s))
|
||||
result_attribute = uid
|
||||
result_format = %u/.maildir/
|
||||
|
@ -21,11 +21,10 @@ inet_interfaces = all
|
||||
message_size_limit = 50000000
|
||||
recipient_delimiter = +
|
||||
|
||||
mydomain = binary-kitchen.com
|
||||
myhostname = ptest.binary-kitchen.com
|
||||
myorigin = binary-kitchen.com
|
||||
# fixme
|
||||
mydestination = ptest.binary.kitchen, localhost.binary.kitchen, localhost
|
||||
mydomain = {{ mail_domain }}
|
||||
myhostname = {{ ansible_fqdn }}
|
||||
myorigin = {{ ansible_fqdn }}
|
||||
mydestination = localhost.{{ mail_domain }}, localhost
|
||||
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
|
||||
|
||||
alias_maps = hash:/etc/aliases
|
||||
@ -69,7 +68,7 @@ smtpd_restriction_classes = rbl, rblgrey
|
||||
|
||||
rbl = reject_rbl_client sbl.spamhaus.org
|
||||
reject_rbl_client cbl.abuseat.org
|
||||
|
||||
|
||||
rblgrey = reject_rbl_client sbl.spamhaus.org
|
||||
reject_rbl_client cbl.abuseat.org
|
||||
check_policy_service unix:private/spfpolicy
|
||||
@ -78,7 +77,7 @@ rblgrey = reject_rbl_client sbl.spamhaus.org
|
||||
content_filter = amavis:[127.0.0.1]:10024
|
||||
receive_override_options = no_address_mappings
|
||||
|
||||
virtual_mailbox_domains = binary-kitchen.com
|
||||
virtual_mailbox_domains = {{ mail_domain }}
|
||||
virtual_mailbox_maps = hash:/etc/postfix/virtual_mailbox
|
||||
virtual_alias_maps = hash:/etc/postfix/virtual_alias
|
||||
#virtual_mailbox_maps = ldap:/etc/postfix/ldap-virtual-maps.cf
|
||||
|
Loading…
Reference in New Issue
Block a user