Configure two mailboxes for civicrm
authorTom Hughes <tom@compton.nu>
Mon, 24 Mar 2014 22:43:53 +0000 (22:43 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 24 Mar 2014 22:43:53 +0000 (22:43 +0000)
roles/crm.rb

index 35776f050c50c9294fe20cdd05c60402472d6a32..032bc40a3765c9d8697ec6553b20885826b5d468 100644 (file)
@@ -6,11 +6,20 @@ default_attributes(
   :exim => {
     :local_domains => [ "crm.osmfoundation.org" ],
     :routes => {
-      :crm => {
-        :comment => "crm.osmfoundation.org",
+      :crm_return => {
+        :comment => "return@crm.osmfoundation.org",
         :domains => [ "crm.osmfoundation.org" ],
-        :maildir => "/var/mail/crm",
-        :user => "wordpress",
+        :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"
       }
     }