3 if [ -f /etc/postfix/master.cf ] && \
4 ( ! grep -q smtp-amavis /etc/postfix/master.cf || \
5 dpkg --compare-versions "$2" lt $MASTTMPLVERSION ); then
6 noisy_backup /etc/postfix/master.cf
7 cp-update $PKG /etc/postfix/master.cf < $MASTTMPL
12 if [ ! -f /etc/postfix/main.cf ] || \
13 ! grep -q "^content_filter[\t ]*=[\t ]*smtp-amavis:\[127.0.0.1\]:10024[\t ]*" \
14 /etc/postfix/main.cf; then
15 postconf -e content_filter="smtp-amavis:[127.0.0.1]:10024"