summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2023-03-16 17:52:59 -0400
committerAdam T. Carpenter <atc@53hor.net>2023-03-16 17:52:59 -0400
commite2d77386b56cde3efbe7b945e4de836a353a75f7 (patch)
tree17fee6761a4749ba8ec0c26100f7c53c8f7c69b6
downloadmail-e2d77386b56cde3efbe7b945e4de836a353a75f7.tar.xz
mail-e2d77386b56cde3efbe7b945e4de836a353a75f7.zip
feat: initial postfix config and installHEADmaster
-rw-r--r--Bastillefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Bastillefile b/Bastillefile
new file mode 100644
index 0000000..3335b88
--- /dev/null
+++ b/Bastillefile
@@ -0,0 +1,16 @@
+# (sendmail already disabled)
+
+PKG postfix
+#PKG postfix dovecot spamassassin opendkim
+
+SYSRC postfix_enable=YES
+CMD install -d /usr/local/etc/mail
+CMD install -m 0644 /usr/local/share/postfix/mailer.conf.postfix /usr/local/etc/mail/mailer.conf
+
+CMD postconf 'smtpd_tls_security_level = may'
+CMD postconf 'smtp_tls_security_level = may'
+CMD postconf 'smtpd_tls_auth_only = yes'
+CMD postconf 'smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1'
+CMD postconf 'smtp_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1'
+CMD postconf 'smtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1'
+