You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Andrea Venturoli <ml...@netfence.it> on 2010/10/21 09:49:51 UTC
SpamAssassin losing Sought's GPG key
Hello.
I'm running SpamAssassin on several FreeBSD box (7.3 and 8.1, i386 and
amd64) with Sought rules.
On each of them I have this in crontab:
sa-update --gpgkey 6C6191E3 --channel sought.rules.yerp.org --channel
updates.spamassassin.org
Problem is the server will often lose the GPG.key, so I have to issue:
wget http://yerp.org/rules/GPG.KEY
sa-update --import GPG.KEY
Any hint on why I have to repeatedly do this?
bye & Thanks
av.
Re: SpamAssassin losing Sought's GPG key
Posted by Kris Deugau <kd...@vianet.ca>.
Andrea Venturoli wrote:
> Hello.
> I'm running SpamAssassin on several FreeBSD box (7.3 and 8.1, i386 and
> amd64) with Sought rules.
> On each of them I have this in crontab:
> sa-update --gpgkey 6C6191E3 --channel sought.rules.yerp.org --channel
> updates.spamassassin.org
>
> Problem is the server will often lose the GPG.key, so I have to issue:
> wget http://yerp.org/rules/GPG.KEY
> sa-update --import GPG.KEY
>
> Any hint on why I have to repeatedly do this?
Run sa-update -D gpg, and see where it's looking for the keyring. Make
sure that none of your other system processes overwrite that location
with old data - or update those other processes so their data source
includes an updated keyring.
-kgd
Re: SpamAssassin losing Sought's GPG key
Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Thu, 2010-10-21 at 09:49 +0200, Andrea Venturoli wrote:
> I'm running SpamAssassin on several FreeBSD box (7.3 and 8.1, i386 and
> amd64) with Sought rules.
> On each of them I have this in crontab:
> sa-update --gpgkey 6C6191E3 --channel sought.rules.yerp.org --channel
> updates.spamassassin.org
>
> Problem is the server will often lose the GPG.key, so I have to issue:
> wget http://yerp.org/rules/GPG.KEY
> sa-update --import GPG.KEY
>
> Any hint on why I have to repeatedly do this?
Something keeps removing your --gpghomedir?
See man sa-update, documentation for the --gpghomedir option. It tells
you, where it is on your system by default, a dir in your site-wide
configuration.
--
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
Re: SpamAssassin losing Sought's GPG key
Posted by RW <rw...@googlemail.com>.
On Thu, 21 Oct 2010 09:49:51 +0200
Andrea Venturoli <ml...@netfence.it> wrote:
> Hello.
> I'm running SpamAssassin on several FreeBSD box (7.3 and 8.1, i386
> and amd64) with Sought rules.
> On each of them I have this in crontab:
> sa-update --gpgkey 6C6191E3 --channel sought.rules.yerp.org --channel
> updates.spamassassin.org
>
> Problem is the server will often lose the GPG.key, so I have to issue:
> wget http://yerp.org/rules/GPG.KEY
> sa-update --import GPG.KEY
>
> Any hint on why I have to repeatedly do this?
>
Because for some reason the port overwrites the default location when
it's installed, and an upgrade or forced reinstall is a pkg_delete +
make install.
I don't know why it doesn't do what other ports do and install a
reference version and then install a version in the default location if
it's missing.