14f53d694aece8a649932356fa53398438838757
[mirror/dsa-puppet.git] / modules / exim / templates / virtualdomains.erb
1 <%=
2 vdoms = case @fqdn
3
4         when "buxtehude.debian.org" then "bugs.debian.org: user=debbugs group=debbugs directory=/srv/bugs.debian.org/mail"
5
6         when "draghi.debian.org" then "db.debian.org: user=mail_db group=nogroup directory=/srv/db.debian.org/mail"
7
8         when "wuiet.debian.org" then "buildd.debian.org: user=wbadm group=wbadm directory=/srv/buildd.debian.org/mail"
9
10         when "handel.debian.org" then "puppet.debian.org: user=sgran group=Debian directory=/srv/puppet.debian.org/mail"
11
12         when "nono.debian.org" then "nm.debian.org: user=nm group=nm directory=/srv/nm.debian.org/mail/"
13
14         when "picconi.debian.org" then "packages.debian.org: user=pkg_user group=Debian directory=/srv/packages.debian.org/mail/"
15
16         when "pinel.debian.org" then "popcon.debian.org: user=popcon group=popcon directory=/srv/popcon.debian.org/mail/"
17         when "popov.debian.org" then "popcon.debian.org: user=popcon group=popcon directory=/srv/popcon.debian.org/mail/"
18
19         when "quantz.debian.org" then "qa.debian.org: user=qa group=qa directory=/srv/qa.debian.org/mail/
20 packages.qa.debian.org: user=qa group=qa directory=/srv/packages.qa.debian.org/mail"
21
22         when "reger.debian.org" then "rt.debian.org: user=rt group=rt directory=/srv/rt.debian.org/mail"
23
24         when "ticharich.debian.org" then "tracker.debian.org: user=qa group=qa directory=/srv/tracker.debian.org/mail"
25
26         when "tye.debian.org" then "i18n.debian.org: user=debian-i18n group=debian-i18n directory=/srv/i18n.debian.org/mail"
27
28         when "vento.debian.org" then "vote.debian.org: user=secretary group=debvote directory=/srv/vote.debian.org/mail/"
29
30         when "wolkenstein.debian.org" then "www-master.debian.org: user=debwww group=debwww directory=/srv/www.debian.org/mail/"
31 end
32 vdoms
33 %>
34 <% if classes.include?("roles::mailrelay") -%>
35 debian.org: user=nobody group=Debian directory=/etc/exim4/email-virtualdomains/debian.org
36 admin.debian.org: user=mail_admin group=mail_admin directory=/etc/exim4/email-virtualdomains/admin.debian.org
37 ftp-master.debian.org: user=nobody group=nogroup directory=/etc/exim4/email-virtualdomains/ftp-master.debian.org
38 security.debian.org: user=nobody group=nogroup directory=/etc/exim4/email-virtualdomains/security.debian.org
39 women.debian.org: user=nobody group=nogroup directory=/etc/exim4/email-virtualdomains/women.debian.org
40 release.debian.org: user=nobody group=nogroup directory=/etc/exim4/email-virtualdomains/release.debian.org
41
42 debian.com: user=nobody group=nogroup directory=/etc/exim4/email-virtualdomains/debian.star
43 debian.net: user=nobody group=nogroup directory=/etc/exim4/email-virtualdomains/debian.star
44 debian.gr: user=nobody group=nogroup directory=/etc/exim4/email-virtualdomains/debian.star
45 debian.us: user=nobody group=nogroup directory=/etc/exim4/email-virtualdomains/debian.star
46 debian.es: user=nobody group=nogroup directory=/etc/exim4/email-virtualdomains/debian.star
47 debian.eu: user=nobody group=nogroup directory=/etc/exim4/email-virtualdomains/debian.star
48 debian.org.tw: user=nobody group=nogroup directory=/etc/exim4/email-virtualdomains/debian.star
49 <% end -%>