e4ccfa5fbfc8a897610c8c720ab1d0b4d0e386f4
[mirror/dsa-puppet.git] / modules / exim / templates / virtualdomains.erb
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5
6 # This file lists the virtual domains that this host should handle. The
7 # format is
8 #  host: user=user group=group directory=dir
9 # Host may be a wildcard.
10 # User/Group are the symbolic names of the uid/gid to operate under when
11 #    performing deliveries for this name. These should not be root!
12 # Directory is the directory to look in for data files. The directory and
13 #    files may be group writable. The first file to lookup is DIR/aliases
14 #    which is a traditional exim/sendmail alias file. You can specify
15 #    users, patterns, pipes and filenames. If that fails then
16 #    .forward-foo is tried, should that fail then .forward-default is tried.
17 #    Finally the email will bounce.
18
19 <%=
20 vdoms = case fqdn
21
22         when "bellini.debian.org" then "popcon.debian.org: user=popcon group=popcon directory=/org/popcon.debian.org/mail/"
23
24         when "byrd.debian.org" then "bugs.debian.org: user=debbugs group=debbugs directory=/srv/bugs.debian.org/mail"
25
26         when "chopin.debian.org" then "security.debian.org: user=mail_security group=nogroup directory=/srv/security-master.debian.org/mail/"
27
28         when "cimarosa.debian.org" then "buildd.debian.org: user=wbadm group=wbadm directory=/srv/buildd.debian.org/mail"
29 #logs.buildd.debian.org: user=wbadm group=wbadm directory=/srv/logs.buildd.debian.org/mail"
30
31         when "draghi.debian.org" then "db.debian.org: user=mail_db group=nogroup directory=/srv/db.debian.org/mail"
32
33         when "handel.debian.org" then "puppet.debian.org: user=sgran group=Debian directory=/srv/puppet.debian.org/mail"
34
35         when "klecker.debian.org" then "security.debian.org: user=mail_security group=nogroup directory=/org/security.debian.org/mail/
36 non-us.debian.org: user=katie group=debadmin directory=/org/non-us.debian.org/mail/
37 www-master.debian.org: user=debwww group=debwww directory=/org/www.debian.org/mail/"
38
39         when "master.debian.org" then "vote.debian.org: user=secretary group=debvote directory=/org/vote.debian.org/mail
40 packages.qa.debian.org: user=qa group=qa directory=/org/packages.qa.debian.org/mail
41 bugs.qa.debian.org: user=cjwatson group=qa directory=/org/bugs.qa.debian.org/mail
42 debian.com: user=nobody group=Debian directory=/org/star.debian.star/
43 debian.net: user=nobody group=Debian directory=/org/star.debian.star/"
44
45         when "merkel.debian.org" then "qa.debian.org: user=qa group=qa directory=/org/qa.debian.org/mail/
46 bugs.qa.debian.org: user=nobody group=nogroup directory=/org/bugs.qa.debian.org/mail/
47 nm.debian.org: user=nm group=nm directory=/org/nm.debian.org/mail/"
48
49         when "morricone.debian.org" then "backports.debian.org: user=dak group=backports directory=/srv/backports-master.debian.org/mail/"
50
51         when "powell.debian.org" then "packages.debian.org: user=pkg_user group=Debian directory=/org/packages.debian.org/mail/"
52
53         #when "raff.debian.org" then "buildd.debian.org: user=wbadm group=wbadm directory=/srv/buildd.debian.org/mail
54 #logs.buildd.debian.org: user=wbadm group=wbadm directory=/srv/logs.buildd.debian.org/mail"
55
56         when "ravel.debian.org" then "women.debian.org: user=nobody group=mujeres directory=/org/women.debian.org/mail"
57
58         when "ries.debian.org" then "release.debian.org: user=release group=debian-release directory=/org/release.debian.org/mail
59 ftp-master.debian.org: user=dak group=debadmin directory=/srv/ftp.debian.org/mail group_writable=true"
60
61         when "rietz.debian.org" then "bugs.debian.org: user=debbugs group=debbugs directory=/srv/bugs.debian.org/mail"
62
63         when "spohr.debian.org" then "rt.debian.org: user=rt group=rt directory=/srv/rt.debian.org/mail
64 admin.debian.org: user=mail_admin group=mail_admin directory=/org/admin.debian.org/mail/"
65
66         when "tartini.debian.org" then "forums.debian.net: user=forums group=forums directory=/srv/forums.debian.net/mail"
67
68         when "valente.debian.org" then "volatile.debian.org: user=volatile group=volatile directory=/srv/volatile-master.debian.org/mail"
69
70         when "widor.debian.org" then "wiki.debian.org: user=wiki group=wikiadm directory=/org/wiki.debian.org/mail"
71 end
72 vdoms
73 %>