aboutsummaryrefslogtreecommitdiff
path: root/tests/local/etc/postfix/main.cf
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-17 15:06:19 -0300
committerEuAndreh <eu@euandre.org>2023-03-17 15:25:29 -0300
commit4dadf12bb8613a610bfd1b6b044cd6b5b4ec8ed3 (patch)
tree0777ec11876fe1567ac25389fafb9dcd81350067 /tests/local/etc/postfix/main.cf
parentqueue.scm: Fix positional argument of dkimproxyout config file (diff)
downloadpackage-repository-4dadf12bb8613a610bfd1b6b044cd6b5b4ec8ed3.tar.gz
package-repository-4dadf12bb8613a610bfd1b6b044cd6b5b4ec8ed3.tar.xz
Makefile: Streamline verification of generated config files
Diffstat (limited to 'tests/local/etc/postfix/main.cf')
-rw-r--r--tests/local/etc/postfix/main.cf21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/local/etc/postfix/main.cf b/tests/local/etc/postfix/main.cf
new file mode 100644
index 0000000..f9eee9e
--- /dev/null
+++ b/tests/local/etc/postfix/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