diff --git a/usr.sbin/bsdinstall/scripts/hardening b/usr.sbin/bsdinstall/scripts/hardening --- a/usr.sbin/bsdinstall/scripts/hardening +++ b/usr.sbin/bsdinstall/scripts/hardening @@ -86,7 +86,10 @@ echo 'syslogd_flags="-ss"' >> $BSDINSTALL_TMPETC/rc.conf.hardening ;; disable_sendmail) - echo 'sendmail_enable="NONE"' >> $BSDINSTALL_TMPETC/rc.conf.hardening + echo 'sendmail_enable="NO"' >> $BSDINSTALL_TMPETC/rc.conf.hardening + echo 'sendmail_submit_enable="NO"' >> $BSDINSTALL_TMPETC/rc.conf.hardening + echo 'sendmail_outbound_enable="NO"' >> $BSDINSTALL_TMPETC/rc.conf.hardening + echo 'sendmail_msp_queue_enable="NO"' >> $BSDINSTALL_TMPETC/rc.conf.hardening ;; secure_console) sed "s/unknown off secure/unknown off insecure/g" $BSDINSTALL_CHROOT/etc/ttys > $BSDINSTALL_TMPETC/ttys.hardening