Commit c29818ef authored by Lars Beckers's avatar Lars Beckers
Browse files

spamassassin: template /etc/default/ configuration

parent c1685591
Pipeline #2897 passed with stage
in 38 seconds
......@@ -22,8 +22,8 @@
- spamassassin
- name: ensure spamassassin is enabled -- the nasty debian way
copy:
src: defaults
template:
src: defaults.j2
dest: /etc/default/spamassassin
owner: root
group: root
......
......@@ -4,11 +4,18 @@
# WARNING: please read README.spamd before using.
# There may be security risks.
{% if ansible_distribution_major_version|int(default=99) < 11 %}
# If you're using systemd (default for jessie), the ENABLED setting is
# not used. Instead, enable spamd by issuing:
# systemctl enable spamassassin.service
# Change to "1" to enable spamd on systems using sysvinit:
ENABLED=1
{% else %}
# Prior to version 3.4.2-1, spamd could be enabled by setting
# ENABLED=1 in this file. This is no longer supported. Instead, please
# use the update-rc.d command, invoked for example as "update-rc.d
# spamassassin enable", to enable the spamd service.
{% endif %}
# Options
# See man spamd for possible options. The -d option is automatically added.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment