Kevin A. McGrail skrev den 2023-01-20 04:07:
Please see the KAM.cf for instructions to send a sample for review.
are you unsubscribed on postfix maillist now ? :)
#!/bin/sh
echo "begin sa-update default channel"
# sa-update -D
sa-update
echo "end sa-update default channel"
# Download and Import the channel's GPG signing key:
# wget https://mcgrail.com/downloads/kam.sa-channels.mcgrail.com.key
# sa-update --import kam.sa-channels.mcgrail.com.key
# NOTE: The key fingerprint is: 21D9 7142 272C 9066 FCAA 792B 4A15 6DA5
24C0 63D8
# Update the KAM Channel:
echo "begin sa-update channel kam.sa-channels.mcgrail.com --score-limit
2 --score-multiplier 0.8"
sa-update --gpgkey 24C063D8 --channel kam.sa-channels.mcgrail.com
--score-limit 2 --score-multiplier 0.8
echo "end sa-update channel kam.sa-channels.mcgrail.com --score-limit 2
--score-multiplier 0.8"
# 3dr party channels
echo "begin sa-update --channel spamassassin.snb.it --gpgkey A96BF255
--score-limit 2 --score-multiplier 0.8"
sa-update --channel spamassassin.snb.it --gpgkey A96BF255 --score-limit
2 --score-multiplier 0.8
echo "end sa-update --channel spamassassin.snb.it --gpgkey A96BF255
--score-limit 2 --score-multiplier 0.8"
# and now ? :)
echo "begin spamd reload"
/etc/init.d/spamd reload
echo "end spamd reload"
# daily job done