3 if [ -f /etc/postfix/master.cf ]; then
4 if ( ! 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
11 echo "CN: Missing Postfix master.cf, please configure Postfix and restart installation."
16 if [ -f /etc/postfix/main.cf ]; then
17 if ! grep -q "^content_filter[\t ]*=[\t ]*smtp-amavis:\[127.0.0.1\]:10024[\t ]*" \
18 /etc/postfix/main.cf; then
19 postconf -e content_filter="smtp-amavis:[127.0.0.1]:10024"
23 echo "CN: Missing Postfix main.cf, please configure Postfix and restart installation."