Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
6dc7aa2d
Verified
Commit
6dc7aa2d
authored
Sep 03, 2017
by
Florian Pritz
Browse files
dovecot/postfix: Fix SSL domain
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
05c21eb1
Changes
3
Hide whitespace changes
Inline
Side-by-side
roles/dovecot/templates/dovecot.conf.j2
View file @
6dc7aa2d
...
...
@@ -83,8 +83,8 @@ service lmtp {
login_log_format_elements = "user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k"
ssl_cert = </etc/letsencrypt/live/{{
inventory_hostname
}}/fullchain.pem
ssl_key = </etc/letsencrypt/live/{{
inventory_hostname
}}/privkey.pem
ssl_cert = </etc/letsencrypt/live/{{
mail_domain
}}/fullchain.pem
ssl_key = </etc/letsencrypt/live/{{
mail_domain
}}/privkey.pem
ssl_prefer_server_ciphers = yes
ssl_protocols = !SSLv3
ssl_options = no_compression
...
...
roles/postfix/defaults/main.yml
View file @
6dc7aa2d
...
...
@@ -5,3 +5,5 @@ postfix_server: false
postfix_patchwork_enabled
:
false
postfix_patchwork_user
:
"
patchwork"
postfix_patchwork_mail_handler
:
"
/usr/local/bin/patchwork-parsemail-wrapper.sh"
mail_domain
:
"
mail.archlinux.org"
roles/postfix/templates/main.cf.j2
View file @
6dc7aa2d
...
...
@@ -6,8 +6,8 @@ biff = no
append_dot_mydomain = no
{% if postfix_smtpd_public %}
smtpd_tls_cert_file = /etc/letsencrypt/live/{{
inventory_hostname
}}/fullchain.pem
smtpd_tls_key_file = /etc/letsencrypt/live/{{
inventory_hostname
}}/privkey.pem
smtpd_tls_cert_file = /etc/letsencrypt/live/{{
mail_domain
}}/fullchain.pem
smtpd_tls_key_file = /etc/letsencrypt/live/{{
mail_domain
}}/privkey.pem
{% endif %}
smtpd_tls_dh1024_param_file = /etc/postfix/dh2048.pem
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment