From 5b85b1368f81b7eed8efef9d07ae8c077bac73c4 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 17 Mar 2023 07:04:22 -0300 Subject: Test for expected output of Postfix config files --- tests/local/main.cf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/local/main.cf (limited to 'tests/local/main.cf') diff --git a/tests/local/main.cf b/tests/local/main.cf new file mode 100644 index 0000000..f9eee9e --- /dev/null +++ b/tests/local/main.cf @@ -0,0 +1,21 @@ +compatibility_level = 3.6 + +queue_directory = /var/spool/postfix +data_directory = /var/lib/postfix +mail_owner = postfix +setgid_group = postdrop + +header_checks = regexp:{ { /^Received:.*/ IGNORE }, { /^X-Originating-IP:.*/ IGNORE } } + +mail_spool_directory = /var/mail/ +smtp_sender_dependent_authentication = yes +sender_dependent_relayhost_maps = hash:/var/lib/private/postfix/relayhosts-maps +smtp_sasl_password_maps = hash:/var/lib/private/postfix/sasl-password +smtp_sasl_auth_enable = yes +smtp_sasl_security_options = noanonymous +smtp_sasl_mechanism_filter = login, plain +smtp_use_tls = yes +smtp_tls_security_level = encrypt +smtp_tls_note_starttls_offer = yes + +mynetworks = 127.0.0.0/8 -- cgit v1.2.3