]> git.donarmstrong.com Git - dsa-puppet.git/blob - templates/exim-local-auto.erb
OK, I think it works now. Go live. what can possibly go wrong?
[dsa-puppet.git] / templates / exim-local-auto.erb
1 <% if has_variable?("clamd") && clamd == "true" -%>
2 CLAMAV = clamd:/var/run/clamav/clamd.ctl
3 <% else -%>
4 # CLAMAV is undefined
5 <% end -%>
6 <% if has_variable?("postgrey") && postgrey == "true" -%>
7 USE_GREYLISTING = 1
8 # HAVE_GREYLIST is undefined
9 HAVE_POSTGREY = 1
10 <% elsif has_variable?("greylistd") && greylistd == "true" -%>
11 USE_GREYLISTING = 1
12 HAVE_GREYLIST = 1
13 # HAVE_POSTGREY is undefined
14 <% else -%>
15 # HAVE_POSTGREY is undefined
16 # HAVE_GREYLIST is undefined
17 # USE_GREYLISTING is undefined
18 <% end -%>
19 <% if has_variable?("policydweight") && policydweight == "true" -%>
20 HAVE_POLICYD = 1
21 <% else -%>
22 # HAVE_POLICYD is undefined
23 <% end -%>
24 <% if has_variable?("bugs_host") && bugs_host == "true" -%>
25 HAVE_USER_DEBBUGS = 1
26 <% else -%>
27 # HAVE_USER_DEBBUGS is undefined
28 <% end -%>
29 <% if has_variable?("qa_host") && qa_host == "true" -%>
30 HAVE_USER_QA = 1
31 <% else -%>
32 # HAVE_USER_QA is undefined
33 <% end -%>