On Mon, Feb 8, 2010 at 12:33 PM, Bowie Bailey <bowie_bai...@buc.com> wrote:
> sa-update-keys should default to the same location as your local.cf
> file.  On my system, that is /etc/mail/spamassassin.  Create the
> directory and try the import again.

I created the directory from scratch using the 'mkdir' command and it
appears to have successfully ran. I just get this error:

[r...@mail spamassassin]# sa-update
gpg: WARNING: unsafe permissions on homedir
`/etc/mail/spamassassin/sa-update-keys'

Does this need to be owned by any specific user:group and does anyone
know the permissions on this folder?

> The import operation is not writing rules and updates, it is writing key
> information.  When you run the normal 'sa-update' command, it will write
> the rules under the /var/lib/spamassassin/3.00X.00X directory.

I can now see:

[r...@mail 3.002005]# pwd
/var/lib/spamassassin/3.002005
[r...@mail 3.002005]# ls -la
total 16
drwxr-xr-x 3 root  root  4096 Feb  8 12:39 .
drwx------ 4 spamd spamd 4096 Feb  8 12:39 ..
drwxr-xr-x 2 root  root  4096 Feb  8 12:39 updates_spamassassin_org
-rw-r--r-- 1 root  root  2431 Feb  8 12:39 updates_spamassassin_org.cf

I am guessing that is all working and I shouldn't have to do much else, correct?

Reply via email to