]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/paks/postfix/install.sh
postfix: Update to version 3.8.4 + prevent smtp smuggling
[ipfire-2.x.git] / src / paks / postfix / install.sh
index 1629d21c18ce772aa1843f3b06c8b49e2ac2619b..2e04e74a86345ef7e901ea2c005c1977b5c25dcd 100644 (file)
 . /opt/pakfire/lib/functions.sh
 extract_files
 restore_backup ${NAME}
+
+# change main.cf parameter from default value to prevent smtp smuggling attack
+# will not be required once postfix-3.9.x is released as default will then be yes
+postconf -e 'smtpd_forbid_bare_newline = yes'
+
 postalias /etc/aliases
 # Set postfix's hostname
 postconf -e "myhostname=$(hostname -f)"