feat: add basic debian support
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2021-09-25 13:50:31 +02:00
parent de8e707292
commit e46211f3e7
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
3 changed files with 13 additions and 2 deletions

View File

@ -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 Normal file
View File

@ -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

View File

@ -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