On Mon, Feb 8, 2010 at 10:47 AM, Bowie Bailey <bowie_bai...@buc.com> wrote:
> Sounds to me like you need to install the actual gpg package.
> Installing the keys doesn't do much if the program that uses them
> doesn't exist.

Yes this was 1/2 my problem for this matter. I only had GnuPG v2
installed however I needed to install GnuPG v1 as well and the
--import command attempted to work. My problem now is understanding
where the key file needs to be and where do I run the command from? I
don't know what directory I need store the file because every single
directory I attempt to run this command from fails:

[r...@mail spamassassin]# sa-update --import spam.key
gpg: keyblock resource
`/etc/mail/spamassassin/sa-update-keys/secring.gpg': file open error
gpg: keyblock resource
`/etc/mail/spamassassin/sa-update-keys/pubring.gpg': file open error
gpg: no writable keyring found: eof
gpg: error reading `spam.key': general error
gpg: import from `spam.key' failed: general error

------------------------------------------------------------------------------------------------------

The Wiki makes it sound like /var/lib/spamassassin/ is a good place
but I get an error there too. I don't have anything in that directory
that shows a version as indicated in the Wiki. That directory only
has:

[r...@mail spamassassin]# ls -la
total 936
drwx------  3 spamd spamd   4096 Feb  8 11:35 .
drwxr-xr-x 15 root  root    4096 Dec  5 00:02 ..
-rw-r--r--  1 spamd spamd     16 Oct 29 23:57 .bash_profile
-rw-r--r--  1 spamd spamd    108 Oct 29 23:57 .bashrc
drwx------  2 spamd spamd   4096 Feb  8 11:06 .spamassassin
-rw-r--r--  1 root  root  922213 Feb  8 11:13 spamd.log
-rwxrwxrwx  1 root  root    6865 Feb  8 10:00 spam.key

I am trying to import the 'spam.key' file which you see in
/var/lib/spamassassin but it is looking for files in some directory I
am obviously missing...

Reply via email to