From e2d77386b56cde3efbe7b945e4de836a353a75f7 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Thu, 16 Mar 2023 17:52:59 -0400 Subject: feat: initial postfix config and install --- Bastillefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Bastillefile (limited to 'Bastillefile') 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' + -- cgit v1.2.3