X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/3250441661f92afe3007d3f9a592cbe2b8ca1685..9efaa37d8f7bf4f9a019fc2b6208762b94d4f04c:/cookbooks/community/templates/default/mail-receiver.yml.erb diff --git a/cookbooks/community/templates/default/mail-receiver.yml.erb b/cookbooks/community/templates/default/mail-receiver.yml.erb index 4460d30f9..da96fcdd8 100644 --- a/cookbooks/community/templates/default/mail-receiver.yml.erb +++ b/cookbooks/community/templates/default/mail-receiver.yml.erb @@ -21,11 +21,9 @@ env: ## Where e-mail to your forum should be sent. In general, it's perfectly fine ## to use the same domain as the forum itself here. MAIL_DOMAIN: community.openstreetmap.org -# uncomment these (and the volume below!) to support TLS -# POSTCONF_smtpd_tls_key_file: /letsencrypt/discourse.example.com/discourse.example.com.key -# POSTCONF_smtpd_tls_cert_file: /letsencrypt/discourse.example.com/fullchain.cer -# POSTCONF_smtpd_tls_security_level: may - + POSTCONF_smtpd_tls_key_file: /shared/ssl/ssl.key + POSTCONF_smtpd_tls_cert_file: /shared/ssl/ssl.crt + POSTCONF_smtpd_tls_security_level: may ## The URL of the mail processing endpoint of your Discourse forum. ## This is simply your forum's base URL, with `/admin/email/handle_mail` @@ -45,9 +43,9 @@ volumes: - volume: host: /srv/community.openstreetmap.org/shared/mail-receiver/postfix-spool guest: /var/spool/postfix -# uncomment to support TLS -# - volume: -# host: /var/discourse/shared/standalone/letsencrypt -# guest: /letsencrypt - - + - volume: + host: /etc/ssl/certs/community.openstreetmap.org.pem + guest: /shared/ssl/ssl.crt + - volume: + host: /etc/ssl/private/community.openstreetmap.org.key + guest: /shared/ssl/ssl.key