2014-08-20 02:33:16 +02:00
|
|
|
postfix:
|
2015-03-25 12:49:57 +01:00
|
|
|
manage_master_config: True
|
2015-07-11 11:58:18 +02:00
|
|
|
master_config:
|
|
|
|
enable_submission: False
|
|
|
|
|
2015-08-31 22:34:51 +02:00
|
|
|
virtual:
|
|
|
|
groupaliasexample:
|
|
|
|
- someuser_1@example.com
|
|
|
|
- someuser_2@example.com
|
|
|
|
singlealiasexample: 'someuser_3@example.com'
|
|
|
|
|
2015-09-02 20:59:57 +02:00
|
|
|
sasl_passwd:
|
|
|
|
smtp.example.com: 'somepassword'
|
|
|
|
|
2015-08-31 22:34:51 +02:00
|
|
|
sender_canonical:
|
|
|
|
root: 'servers@example.com'
|
|
|
|
nagios: 'alerts@example.com'
|
|
|
|
|
2015-08-22 13:26:26 +02:00
|
|
|
postgrey:
|
|
|
|
enabled: True
|
|
|
|
location: inet:172.16.0.5:6379
|
|
|
|
|
2015-08-22 13:59:29 +02:00
|
|
|
policyd-spf:
|
|
|
|
enabled: True
|
|
|
|
time_limit: 7200s
|
|
|
|
|
2015-03-25 12:49:57 +01:00
|
|
|
config:
|
|
|
|
smtpd_banner: $myhostname ESMTP $mail_name
|
|
|
|
biff: 'no'
|
|
|
|
append_dot_mydomain: 'no'
|
|
|
|
readme_directory: 'no'
|
|
|
|
myhostname: localhost
|
|
|
|
mydestination: localhost, localhost.localdomain
|
|
|
|
relayhost:
|
|
|
|
mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
|
|
|
|
mailbox_size_limit: 0
|
|
|
|
recipient_delimiter: +
|
|
|
|
inet_interfaces: all
|
2015-08-31 22:34:51 +02:00
|
|
|
|
2015-06-20 22:49:09 +02:00
|
|
|
# Alias
|
|
|
|
alias_maps: hash:/etc/aliases
|
|
|
|
alias_database: hash:/etc/aliases
|
|
|
|
|
|
|
|
# SMTP server
|
|
|
|
smtpd_tls_session_cache_database: btree:${data_directory}/smtpd_scache
|
|
|
|
smtpd_use_tls: 'yes'
|
|
|
|
|
|
|
|
# SMTP server certificate and key (already installed)
|
|
|
|
smtpd_tls_cert_file: /etc/ssl/certs/ssl-cert-snakeoil.pem
|
|
|
|
smtpd_tls_key_file: /etc/ssl/private/ssl-cert-snakeoil.key
|
|
|
|
|
|
|
|
# SMTP server certificate and key (from pillar data)
|
|
|
|
smtpd_tls_cert_file: /etc/ssl/private/postfix-server.crt
|
|
|
|
smtpd_tls_key_file: /etc/ssl/private/postfix-server.key
|
|
|
|
|
|
|
|
# SMTP client
|
|
|
|
smtp_tls_session_cache_database: btree:${data_directory}/smtp_scache
|
|
|
|
smtp_use_tls: 'yes'
|
|
|
|
smtp_tls_cert_file: /etc/ssl/private/postfix-client.crt
|
|
|
|
smtp_tls_key_file: /etc/ssl/private/postfix-client.key
|
|
|
|
|
|
|
|
ssl_certs:
|
|
|
|
server: |
|
|
|
|
-----BEGIN CERTIFICATE-----
|
|
|
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
|
|
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
|
|
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
|
|
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
|
|
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
|
|
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
|
|
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
|
|
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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