From 11618b6cc7af9c1f116f96ec5eeb8973e101f7c4 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 10 Mar 2022 13:51:22 +0000 Subject: [PATCH] Use dedicated port for discourse mail-receiver service --- cookbooks/community/templates/default/mail-receiver.yml.erb | 2 +- roles/mail.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/community/templates/default/mail-receiver.yml.erb b/cookbooks/community/templates/default/mail-receiver.yml.erb index 91b21cef1..4460d30f9 100644 --- a/cookbooks/community/templates/default/mail-receiver.yml.erb +++ b/cookbooks/community/templates/default/mail-receiver.yml.erb @@ -11,7 +11,7 @@ base_image: discourse/mail-receiver:release update_pups: false expose: - - "25:25" # SMTP + - "2500:25" # SMTP env: LC_ALL: en_US.UTF-8 diff --git a/roles/mail.rb b/roles/mail.rb index bb64e0814..c2de47e92 100644 --- a/roles/mail.rb +++ b/roles/mail.rb @@ -50,7 +50,7 @@ default_attributes( :discourse => { :comment => "community.osmfoundation.org", :domains => ["community.osmfoundation.org"], - :host => "lockheed.ams.openstreetmap.org" + :host => "lockheed.ams.openstreetmap.org::2500" } }, :dkim_selectors => { -- 2.39.5