I just updated to 3.1.1,
I get the same problem running as root
 sa-update -D --gpg
or
 sa-update -D
sa-update: importing default keyring to '/etc/mail/spamassassin//sa- update-keys'... cannot mkdir /etc/mail/spamassassin//sa-update-keys at /usr/bin/sa- update line 1028.
nothing in /etc/mail/spamassassin/sa-update-keys
How do I create the key and put it in there?

On Mar 31, 2006, at 12:36 PM, Theo Van Dinter wrote:

On Fri, Mar 31, 2006 at 07:32:04PM +0200, Jim Knuth wrote:
mmh, I get these as user amavis:

/root$ sa-update
sa-update: importing default keyring to '/etc/mail/spamassassin// sa-update-keys'... cannot mkdir /etc/mail/spamassassin//sa-update-keys at /usr/bin/sa- update line 1028.
/root$

What am I missing?

sa-update tries putting its own gpg keyring in the site config directory
(/etc/mail/spamassassin/sa-update-keys).  If you don't have the
permissions to do that, it won't work.

You can either make the directory and set the ownership/permissions
appropriately, or use sa-update's options to change to a different
directory instead.

Also, updates by default will goto /var/lib/spamassassin, so you'll
permissions for that directory structure as well.

--
Randomly Generated Tagline:
"... born during the barbeque hey-day of the fifties, gas grills combine two favorite American obsessions: convenience and setting things on fire."
         - Alton Brown, Good Eats, "Grill Seekers"

Reply via email to