From a5db203aa5d5ece82eeee0321fe3a4e677dc679a Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 12 Jan 2020 19:44:18 +0000 Subject: [PATCH] Route program-sotm to an OTRS queue --- roles/mail.rb | 3 ++- roles/otrs.rb | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/roles/mail.rb b/roles/mail.rb index 483260bb0..288eb22d3 100644 --- a/roles/mail.rb +++ b/roles/mail.rb @@ -68,7 +68,8 @@ default_attributes( "support" => "support@otrs.openstreetmap.org", "memorial" => "communication@osmfoundation.org", "legal" => "legal@osmfoundation.org", - "dmca" => "dmca@osmfoundation.org" + "dmca" => "dmca@osmfoundation.org", + "program-sotm" => "sotm-program@otrs.openstreetmap.org" }, :private_aliases => "mail" }, diff --git a/roles/otrs.rb b/roles/otrs.rb index c895b122a..09ec3453e 100644 --- a/roles/otrs.rb +++ b/roles/otrs.rb @@ -78,6 +78,15 @@ default_attributes( :group => "www-data", :home_directory => "/opt/otrs" }, + :otrs_sotm_program => { + :comment => "sotm-program@otrs.openstreetmap.org", + :domains => ["otrs.openstreetmap.org"], + :local_parts => ["sotm-program"], + :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'State of the Map:Program'", + :user => "otrs", + :group => "www-data", + :home_directory => "/opt/otrs" + }, :otrs_support => { :comment => "support@otrs.openstreetmap.org", :domains => ["otrs.openstreetmap.org"], -- 2.39.5