add zandonai.debian.org
[mirror/dsa-puppet.git] / templates / exim-local-auto.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 # Various bits of software
7 <% if has_variable?("clamd") && clamd == "true" -%>
8 CLAMAV = clamd:/var/run/clamav/clamd.ctl
9 <% else -%>
10 # CLAMAV is undefined
11 <% end -%>
12 <% if has_variable?("postgrey") && postgrey == "true" -%>
13 USE_GREYLISTING = 1
14 # HAVE_GREYLIST is undefined
15 HAVE_POSTGREY = 1
16 <% elsif has_variable?("greylistd") && greylistd == "true" -%>
17 USE_GREYLISTING = 1
18 HAVE_GREYLIST = 1
19 # HAVE_POSTGREY is undefined
20 <% else -%>
21 # HAVE_POSTGREY is undefined
22 # HAVE_GREYLIST is undefined
23 # USE_GREYLISTING is undefined
24 <% end -%>
25 <% if has_variable?("policydweight") && policydweight == "true" -%>
26 HAVE_POLICYD = 1
27 <% else -%>
28 # HAVE_POLICYD is undefined
29 <% end -%>
30
31 # user settings (controls some mail routing)
32 <% if has_variable?("bugs_host") && bugs_host == "true" -%>
33 HAVE_USER_DEBBUGS = 1
34 <% else -%>
35 # HAVE_USER_DEBBUGS is undefined
36 <% end -%>
37 <% if has_variable?("qa_host") && qa_host == "true" -%>
38 HAVE_USER_QA = 1
39 <% else -%>
40 # HAVE_USER_QA is undefined
41 <% end -%>
42
43 # SSL stuff for mail relays
44 <% if has_variable?("exim_ssl_certs") && exim_ssl_certs == "true" -%>
45 USE_TLS = 1
46 <% else -%>
47 # USE_TLS is undefined
48 <% end -%>
49