]> gitweb.fluxo.info Git - puppet-mail.git/commitdiff
Sympa aliases
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 25 Aug 2010 18:17:38 +0000 (15:17 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 25 Aug 2010 18:17:38 +0000 (15:17 -0300)
manifests/sympa.pp

index b604006abfafabd83641281de391e581bf47d0a2..019819758f57bd118e2e750a0954d76f6d644f32 100644 (file)
@@ -54,4 +54,24 @@ class mail::sympa {
     "sympa_destination_recipient_limit":       value => '1';
     "sympabounce_destination_recipient_limit": value => '1';
   }
+
+  mailalias { "sympa":
+    recipient => "|/usr/lib/sympa/bin/queue sympa",
+    notify    => Exec["newaliases"],
+  }
+
+  mailalias { "sympa-request":
+    recipient => "postmaster",
+    notify    => Exec["newaliases"],
+  }
+
+  mailalias { "sympa-owner":
+    recipient => "postmaster",
+    notify    => Exec["newaliases"],
+  }
+
+  mailalias { "listmaster":
+    recipient => "postmaster",
+    notify    => Exec["newaliases"],
+  }
 }