From 762b2e27166e340aa6ca28cb9e53ec95ecd83033 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 8 Aug 2023 20:05:46 +0100 Subject: [PATCH] Add supporting.openstreetmap.org exim config --- roles/crm.rb | 18 +++++++++++++++++- roles/mail.rb | 5 +++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/roles/crm.rb b/roles/crm.rb index e4e7deb1b..cbcd8628d 100644 --- a/roles/crm.rb +++ b/roles/crm.rb @@ -8,7 +8,7 @@ default_attributes( } }, :exim => { - :local_domains => ["join.osmfoundation.org"], + :local_domains => ["join.osmfoundation.org", "supporting.openstreetmap.org"], :routes => { :join_return => { :comment => "return@join.osmfoundation.org", @@ -25,6 +25,22 @@ default_attributes( :maildir => "/var/mail/crm-mail", :user => "www-data", :group => "mail" + }, + :supporting_return => { + :comment => "return@supporting.openstreetmap.org", + :domains => ["supporting.osmfoundation.org"], + :local_parts => ["return"], + :maildir => "/var/mail/crm-return", + :user => "www-data", + :group => "mail" + }, + :supporting_mail => { + :comment => "mail@supporting.openstreetmap.org", + :domains => ["supporting.openstreetmap.org"], + :local_parts => ["mail"], + :maildir => "/var/mail/crm-mail", + :user => "www-data", + :group => "mail" } }, :trusted_users => ["www-data"] diff --git a/roles/mail.rb b/roles/mail.rb index 5acd66a7b..347978935 100644 --- a/roles/mail.rb +++ b/roles/mail.rb @@ -47,6 +47,11 @@ default_attributes( :domains => ["join.osmfoundation.org"], :host => "ridley.ucl.openstreetmap.org" }, + :supporting => { + :comment => "supporting.openstreetmap.org", + :domains => ["supporting.openstreetmap.org"], + :host => "ridley.ucl.openstreetmap.org" + }, :community => { :comment => "community.openstreetmap.org", :domains => ["community.openstreetmap.org"], -- 2.39.5