From: Tom Hughes Date: Mon, 2 Jan 2017 09:15:01 +0000 (+0000) Subject: Send forum emails with a noreply sender address X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/c72634ab6dddb010d0d36d932b521186ab5891bf?ds=inline Send forum emails with a noreply sender address --- diff --git a/cookbooks/exim/files/default/noreply/forum b/cookbooks/exim/files/default/noreply/forum new file mode 100644 index 000000000..c2f80aac6 --- /dev/null +++ b/cookbooks/exim/files/default/noreply/forum @@ -0,0 +1,9 @@ +This is an automated response to your email, which was sent to an +unattended address. + +If you are having technical problems with the forums then please +contact support@openstreetmap.org for assistance. + +Thank you, + +OpenStreetMap Administrators diff --git a/roles/clifford.rb b/roles/clifford.rb index 78fc7a93e..247125739 100644 --- a/roles/clifford.rb +++ b/roles/clifford.rb @@ -2,6 +2,15 @@ name "clifford" description "Master role applied to clifford" default_attributes( + :exim => { + :rewrites => [ + { + :pattern => "www-data@openstreetmap.org", + :replacement => "forum@noreply.openstreetmap.org", + :flags => "F" + } + ] + }, :networking => { :interfaces => { :internal_ipv4 => {