Browse Source

feat: add basic debian support

test-rocky8
Robert Kaussow 4 months ago
parent
commit
e46211f3e7
Signed by: xoxys GPG Key ID: 4E692A2EAECC03C0
  1. 4
      templates/etc/postfix/main.cf.j2
  2. 8
      vars/debian.yml
  3. 3
      vars/default.yml

4
templates/etc/postfix/main.cf.j2

@ -40,7 +40,7 @@ command_directory = /usr/sbin
# daemon programs (i.e. programs listed in the master.cf file). This
# directory must be owned by root.
#
daemon_directory = /usr/libexec/postfix
daemon_directory = {{ __postfix_relay_daemon_directory }}
# The data_directory parameter specifies the location of Postfix-writable
# data files (caches, random numbers). This directory must be owned
@ -699,7 +699,7 @@ smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
# Enable STARTTLS encryption
smtp_use_tls = yes
# Where to find CA certificates
smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt
smtp_tls_CAfile = {{ __postfix_relay_smtp_tls_cafile }}
# rewrite outgoing header
sender_canonical_maps = hash:/etc/postfix/sender_canonical

8
vars/debian.yml

@ -0,0 +1,8 @@
---
__postfix_relay_packages:
- postfix
- libsasl2-modules
- mailutils
__postfix_relay_daemon_directory: /usr/lib/postfix/sbin
__postfix_relay_smtp_tls_cafile: /etc/ssl/certs/ca-certificates.crt

3
vars/default.yml

@ -3,3 +3,6 @@ __postfix_relay_packages:
- postfix
- cyrus-sasl-plain
- mailx
__postfix_relay_daemon_directory: /usr/libexec/postfix
__postfix_relay_smtp_tls_cafile: /etc/ssl/certs/ca-bundle.crt

Loading…
Cancel
Save