1 ## this is the incoming mail receiver container template
3 ## After making changes to this file, you MUST rebuild
4 ## /var/discourse/launcher rebuild mail-receiver
6 ## BE *VERY* CAREFUL WHEN EDITING!
7 ## YAML FILES ARE SUPER SUPER SENSITIVE TO MISTAKES IN WHITESPACE OR ALIGNMENT!
8 ## visit http://www.yamllint.com/ to validate this file as needed
10 base_image: discourse/mail-receiver:release
21 ## Where e-mail to your forum should be sent. In general, it's perfectly fine
22 ## to use the same domain as the forum itself here.
23 MAIL_DOMAIN: community.openstreetmap.org
24 POSTCONF_smtpd_tls_key_file: /shared/ssl/ssl.key
25 POSTCONF_smtpd_tls_cert_file: /shared/ssl/ssl.crt
26 POSTCONF_smtpd_tls_security_level: may
28 ## The URL of the mail processing endpoint of your Discourse forum.
29 ## This is simply your forum's base URL, with `/admin/email/handle_mail`
30 ## appended. Be careful if you're running a subfolder setup -- in that case,
31 ## the URL needs to have the subfolder included!
32 DISCOURSE_MAIL_ENDPOINT: 'https://community.openstreetmap.org/admin/email/handle_mail'
34 ## The master API key of your Discourse forum. You can get this from
35 ## the "API" tab of your admin panel.
36 DISCOURSE_API_KEY: '<%= @passwords["mail_receiver_api_key"] %>'
38 ## The username to use for processing incoming e-mail. Unless you have
39 ## renamed the `system` user, you should leave this as-is.
40 DISCOURSE_API_USERNAME: system
44 host: /srv/community.openstreetmap.org/shared/mail-receiver/postfix-spool
45 guest: /var/spool/postfix
47 host: /etc/ssl/certs/community.openstreetmap.org.pem
48 guest: /shared/ssl/ssl.crt
50 host: /etc/ssl/private/community.openstreetmap.org.key
51 guest: /shared/ssl/ssl.key
53 host: /srv/community.openstreetmap.org/files/policyd-spf.conf
54 guest: /etc/postfix-policyd-spf-python/policyd-spf.conf