feat: add basic debian support
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
de8e707292
commit
e46211f3e7
@ -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
8
vars/debian.yml
Normal 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
|
@ -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…
Reference in New Issue
Block a user