Package postfix-tls: Scripts

Post install

1
2
3
4
5
6
7
for n in smtp smtpd; do
      ln -snf "$n"-tls /usr/libexec/postfix/"$n"
done
sed -i 's/^#\(.*tls\)/\1/' /etc/postfix/postfix-files
/usr/libexec/postfix/post-install \
	meta_directory=/etc/postfix \
	upgrade-package
Pre uninstall

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/#&/' /etc/postfix/postfix-files
fi