Daniel J McDonald schrieb am 10.07.2007 12:05:
And how, precisely, do you set the trust on the GPG key?
I am running this command line once a day via cron as root:
/usr/bin/sa-update --channelfile
/var/lib/spamassassin/update-channels.txt --gpgkeyfile
/var/lib/spamassassin/update-channels-gpgkey.txt && /usr/bin/sa-compile
&& /sbin/service spampd restart
I created a /var/lib/spamassassin/update-channels.txt file with this
content:
== cut ==
updates.spamassassin.org
70_zmi_german.cf.zmi.sa-update.dostech.net
70_sare_stocks.cf.sare.sa-update.dostech.net
70_sare_adult.cf.sare.sa-update.dostech.net
70_sare_evilnum0.cf.sare.sa-update.dostech.net
70_sare_evilnum1.cf.sare.sa-update.dostech.net
70_sare_evilnum2.cf.sare.sa-update.dostech.net
== cut ==
That pulls the standard SpamAssassin ruleset and some additional rules
from sare.sa-update.dostech.net with one call.
And I created a /var/lib/spamassassin/update-channels-gpgkey.txt file
with the gpg keys:
== cut ==
856AA88A
1129F0D3
== cut ==
One is the standard SA update key and the other is the one for
sa-update.dostech.net.
Works fine for me.