PREUN
/bin/sh
/usr/share/rpm-helper/del-service spampd $1 spampd
POSTIN
/bin/sh
/usr/share/rpm-helper/add-service spampd $1 spampd
if [ -x /usr/sbin/postconf ] && [ -z `/usr/sbin/postconf -h content_filter` ] && \
grep -qs '^lmtp-filter\>' /etc/postfix/master.cf;then
LISTEN=127.0.0.1:10025
MAXCHILD=5
[ -f /etc/sysconfig/spampd ] && . /etc/sysconfig/spampd
postconf -e content_filter=lmtp-filter:${LISTEN}
postconf -e receive_override_options=no_address_mappings
postconf -e lmtp-filter_destination_concurrency_limit=${MAXCHILD}
fi