]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/exim/templates/default/default.erb
Fix exim daemon options for Ubuntu
[chef.git] / cookbooks / exim / templates / default / default.erb
index 2fb3dcc1731da2d37d84db674f52cd7f086f652a..8b34fcde2e5a1abc3212f10eea1462bcca71fa85 100644 (file)
@@ -1,5 +1,11 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
+<% if node.platform?("ubuntu") && node[:lsb][:release].to_f >= 22.04 -%>
+# options for update-exim4.conf
+UPEX4OPTS=''
+# options for exim4
+EXIMSERVICE='-bdf -q30s'
+<% else -%>
 # 'combined' -   one daemon running queue and listening on SMTP port
 # 'no'       -   no daemon running the queue
 # 'separate' -   two separate daemons
@@ -19,5 +25,6 @@ QUEUERUNNEROPTIONS=''
 QFLAGS=''
 # options for daemon listening on port 25
 SMTPLISTENEROPTIONS=''
+<% end -%>
 # only warn once about each error
 E4BCD_WATCH_PANICLOG='once'