-# ispravi opciju od clamscana u amavis konfi
-# --disable-summary -> --no-summary
-if [ -f /etc/amavis/conf.d/15-av_scanners ]; then
- cp_check_and_sed "\-\-disable-summary" \
- "s/--disable-summary/--no-summary/g" \
- /etc/amavis/conf.d/15-av_scanners && restart_amavis="yes" || true
-
- if [ -f /etc/amavis/conf.d/15-av_scanners.cn-old ]; then
- rm -f /etc/amavis/conf.d/15-av_scanners.cn-old
- fi
-fi
-
-# izbaciti MSRBL
-if ! grep -q "^unset msrbl_dbs" /etc/clamav-unofficial-sigs.conf; then
- echo "unset msrbl_dbs" >> /etc/clamav-unofficial-sigs.conf
-fi
-
-if [ "$restart_amavis" = "yes" ]; then
- if [ -x /usr/sbin/invoke-rc.d ]; then
- [ -x /etc/init.d/amavisd-cn ] && invoke-rc.d amavisd-cn restart
- else
- [ -x /etc/init.d/amavisd-cn ] && /etc/init.d/amavisd-cn restart
- fi
- # nije potreban restart clamava
- restart="no"
-fi
-