Created
April 28, 2017 08:36
-
-
Save sfstpala/52d17072e7b742401e45f53885ef2e59 to your computer and use it in GitHub Desktop.
Postfix config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) | |
biff = no | |
append_dot_mydomain = no | |
readme_directory = no | |
myorigin = /etc/mailname | |
mydestination = {{ mailname }} | |
relayhost = | |
mynetworks = {{ networks | join(' ') }} 127.0.0.0/8 [::1]/128 [fe80::]/64 | |
mailbox_size_limit = 0 | |
recipient_delimiter = + | |
inet_interfaces = all | |
inet_protocols = all | |
virtual_alias_maps = regexp:/etc/postfix/virtual_alias | |
smtpd_tls_cert_file = /etc/letsencrypt/live/{{ hostname }}/cert.pem | |
smtpd_tls_key_file = /etc/letsencrypt/live/{{ hostname }}/privkey.pem | |
smtpd_tls_CAfile = /etc/letsencrypt/live/{{ hostname }}/chain.pem | |
smtpd_use_tls = yes | |
smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3 | |
smtp_tls_security_level = may |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment