Register manualroutes from the service class for the three services that had it hardc...
[mirror/dsa-puppet.git] / modules / roles / manifests / www_master.pp
index 737c197..d8019a8 100644 (file)
@@ -20,4 +20,13 @@ class roles::www_master {
     notify => Exec['service apache2 reload'],
     key    => true,
   }
+
+  # tell the mail-relays to forward this domain to us
+  exim::manualroute{ 'www-master.debian.org': }
+  # and then handle it locally
+  exim::vdomain { 'www-master.debian.org':
+    owner   => 'debwww',
+    group   => 'debwww',
+    maildir => '/srv/www.debian.org/mail',
+  }
 }