1 2 3 4 5
for n in smtp smtpd; do ln -snf "$n"-tls /usr/libexec/postfix/"$n" done sed -i 's/^#\(.*tls\)/\1/' /usr/libexec/postfix/postfix-files /usr/libexec/postfix/post-install upgrade-package
1 2 3 4 5 6
if [ $1 = 0 ]; then for n in smtp smtpd; do ln -snf "$n"-std /usr/libexec/postfix/"$n" done sed -i 's/[^#]*tls/#&/' /usr/libexec/postfix/postfix-files fi