summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'
+