No description
Find a file
2023-04-27 07:40:50 +02:00
defaults Rename variable 2023-04-27 07:40:50 +02:00
files Create bogus mx list via host_vars 2023-04-19 11:33:01 +02:00
handlers Add MTA-STS configuration 2023-04-17 22:11:40 +02:00
meta Initial commit 2023-03-20 20:01:04 +01:00
tasks Rename variable 2023-04-27 07:40:50 +02:00
templates List users comma seperated 2023-04-19 17:19:18 +02:00
README.md Introduce postfiy_type to differ between configuration types 2023-04-19 12:10:28 +02:00

Postfix

Use this role to setup a Postfix mail server. It comes with the following additions:

General type of mail server configuration

You can select via the variable postfix_type a pre-defined set of configuraion options that best meets your needs.

  • internet: Mail is send received directly using SMTP. TLS is enabled.
  • internal: Mail is sent to another machine on the same network for delivery. TLS is disabled. Only listens on port 25.

Variables

Required

Variable Value Default Note
postfix_type str internet Determines how to setup Postfix. Choose internet or internal

Scope: misc

Variable Value Default Note
unbound_install bool True if you whish to install unbound
postfix_onionmx bool True to setup OnionMX delivery
postfix_mydestination List List with hostnames
postfix_mynetworks List List with network addresses

Scope: submission

Variable Value Default Note
postfix_submission bool Set True to configure submission port settings
postfix_submission_smtpd_tls_cert_file string Path to TLS cert file
postfix_submission_smtpd_tls_key_file string Path to TLS key file
postfix_submission_non_tls_port int Port number for an additional (internal) submission port without TLS