X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4c35cca55478f6c0f76b2620a8beb22e18fb2278..1b6728246580546cc65a35ca414134a3886d9508:/roles/crm.rb diff --git a/roles/crm.rb b/roles/crm.rb index 35776f050..ec4715232 100644 --- a/roles/crm.rb +++ b/roles/crm.rb @@ -1,16 +1,24 @@ name "crm" description "Role applied to CRM server" - default_attributes( :exim => { - :local_domains => [ "crm.osmfoundation.org" ], + :local_domains => ["crm.osmfoundation.org"], :routes => { - :crm => { - :comment => "crm.osmfoundation.org", - :domains => [ "crm.osmfoundation.org" ], - :maildir => "/var/mail/crm", - :user => "wordpress", + :crm_return => { + :comment => "return@crm.osmfoundation.org", + :domains => ["crm.osmfoundation.org"], + :local_parts => ["return"], + :maildir => "/var/mail/crm-return", + :user => "www-data", + :group => "mail" + }, + :crm_mail => { + :comment => "mail@crm.osmfoundation.org", + :domains => ["crm.osmfoundation.org"], + :local_parts => ["mail"], + :maildir => "/var/mail/crm-mail", + :user => "www-data", :group => "mail" } }