Skip to content
Snippets Groups Projects
Commit cd8cc94d authored by Chris Croome's avatar Chris Croome
Browse files

Email isn't quite working

parent b48ac787
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,6 @@ the host for outgoing email. ...@@ -51,6 +51,6 @@ the host for outgoing email.
TODO: TODO:
* Double check the email setup, work though [this thread](https://meta.discourse.org/t/reducing-backscatter-in-email-interface/59974) and [all the changes](https://github.com/discourse/mail-receiver/pull/2/files) * **Email:** Postfix isn't configured correctly, for outgoing email some of [these steps](https://meta.discourse.org/t/emails-with-local-smtp/23645/28) were followed and then the [mail-reciever Docker setup](https://github.com/discourse/mail-receiver) was copied and [this thread](https://meta.discourse.org/t/reducing-backscatter-in-email-interface/59974) and [some of the changes here](https://github.com/discourse/mail-receiver/pull/2/files) were implemented and it is not quite right...
* Munin node plugin setup * Munin node plugin setup
...@@ -108,9 +108,10 @@ ...@@ -108,9 +108,10 @@
- name: Postmap run with Transport Maps file - name: Postmap run with Transport Maps file
command: postmap /etc/postfix/transport command: postmap /etc/postfix/transport
#
- name: Postfix smtpd_recipient_restrictions set # This breaks outgoing email for the Discourse Docker app
command: postconf -e "smtpd_recipient_restrictions = check_policy_service unix:private/policy" #- name: Postfix smtpd_recipient_restrictions set
# command: postconf -e "smtpd_recipient_restrictions = check_policy_service unix:private/policy"
- name: Postfix set to reject incorrect email addresses - name: Postfix set to reject incorrect email addresses
command: postconf -M -e "policy/unix=policy unix - n n - - spawn user=nobody argv=/usr/local/bin/discourse-smtp-fast-rejection" command: postconf -M -e "policy/unix=policy unix - n n - - spawn user=nobody argv=/usr/local/bin/discourse-smtp-fast-rejection"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment