summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/sympa.pp57
1 files changed, 57 insertions, 0 deletions
diff --git a/manifests/sympa.pp b/manifests/sympa.pp
index a30eb9f..3674f03 100644
--- a/manifests/sympa.pp
+++ b/manifests/sympa.pp
@@ -120,6 +120,39 @@ class mail::sympa inherits mail::regexps {
recipient => "root",
notify => Exec["newaliases"],
}
+
+ mailalias { "abuse-feedback-report":
+ recipient => "|/usr/lib/sympa/bin/bouncequeue sympa",
+ notify => Exec["newaliases"],
+ }
+
+ mailalias { "bounce+*":
+ recipient => "|/usr/lib/sympa/bin/bouncequeue sympa",
+ notify => Exec["newaliases"],
+ }
+
+ #
+ # Listserv compatibility
+ #
+ mailalias { "listserv":
+ recipient => "sympa",
+ notify => Exec["newaliases"],
+ }
+
+ mailalias { "listserv-request":
+ recipient => "sympa-request",
+ notify => Exec["newaliases"],
+ }
+
+ mailalias { "listserv-owner":
+ recipient => "sympa-owner",
+ notify => Exec["newaliases"],
+ }
+
+ mailalias { "majordomo":
+ recipient => "sympa",
+ notify => Exec["newaliases"],
+ }
}
class mail::sympa::disabled inherits mail::sympa {
@@ -149,4 +182,28 @@ class mail::sympa::disabled inherits mail::sympa {
Mailalias["sympa-owner"] {
ensure => absent,
}
+
+ Mailalias["abuse-feedback-report"] {
+ ensure => absent,
+ }
+
+ Mailalias["bounce+*"] {
+ ensure => absent,
+ }
+
+ Mailalias["listserv"] {
+ ensure => absent,
+ }
+
+ Mailalias["listserv-request"] {
+ ensure => absent,
+ }
+
+ Mailalias["listserv-owner"] {
+ ensure => absent,
+ }
+
+ Mailalias["majordomo"] {
+ ensure => absent,
+ }
}