fix(schleuder): openssl_verify must be omitted to be disabled

This commit is contained in:
s3lph 2023-07-02 11:40:39 +02:00
parent f4116c9b5c
commit f3ae8ffe8a
3 changed files with 5 additions and 3 deletions
galaxy.yml
roles/schleuder
defaults
templates/etc/schleuder

View file

@ -8,7 +8,7 @@ namespace: s3lph
name: mailserver
# The version of the collection. Must be compatible with semantic versioning
version: '0.3.7'
version: '0.3.8'
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md

View file

@ -12,8 +12,6 @@ schleuder_keyserver: ""
schleuder_smtp_address: localhost
schleuder_smtp_port: 25
schleuder_smtp_auto_starttls: no
schleuder_smtp_openssl_verify_mode: peer
schleuder_smtp_authentication: plain
schleuder_sqlite3_database: /var/lib/schleuder/db.sqlite
schleuder_sqlite3_timeout: 5000

View file

@ -44,8 +44,12 @@ smtp_settings:
{% if schleuder_smtp_helo_fqdn is defined %}
domain: {{ schleuder_smtp_helo_fqdn }}
{% endif %}
{% if schleuder_smtp_auto_starttls is defined %}
enable_starttls_auto: {{ schleuder_smtp_auto_starttls }}
{% endif %}
{% if schleuder_smtp_openssl_verify_mode is defined %}
openssl_verify_mode: {{ schleuder_smtp_openssl_verify_mode }}
{% endif %}
{% if schleuder_smtp_username is defined %}
authentication: {{ schleuder_smtp_authentication }}
user_name: {{ schleuder_smtp_username }}