fi
# enable requested plugins in SA
-list=$(find /etc/spamassassin -type -f -name 'v*.pre')
+list=$(find /etc/spamassassin -type f -name 'v*.pre')
for i in $list; do
# enable DCC if requested
if [ "$use_dcc" = "true" ]; then
+ cp -f $i $i.$$
plugin="loadplugin Mail::SpamAssassin::Plugin::DCC"
cp_check_and_sed "^.*#.*$plugin.*$" \
"s/^.*#.*$plugin.*$/$plugin/g" $i.$$ || true
fi
# enable DKIM
+ cp -f $i $i.$$
plugin="loadplugin Mail::SpamAssassin::Plugin::DKIM"
cp_check_and_sed "^.*#.*$plugin.*$" \
"s/^.*#.*$plugin.*$/$plugin/g" $i.$$ || true