----- Original Message ----- From: "Jim Knuth" <[EMAIL PROTECTED]> To: "Theo Van Dinter" <[EMAIL PROTECTED]> Cc: <users@spamassassin.apache.org> Sent: Friday, March 31, 2006 10:56 AM Subject: Re: Fast update for rules
Heute (31.03.2006/19:36 Uhr) schrieb Theo Van Dinter, > 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. Thank you. The same again as root: ~# sa-update sa-update: importing default keyring to '/etc/mail/spamassassin//sa-update-keys'... config: warning: description exists for non-existent rule SPF_HELO_PASS config: warning: description exists for non-existent rule URIBL_SC_SURBL config: warning: description exists for non-existent rule HASHCASH_25 config: warning: description exists for non-existent rule HASHCASH_HIGH config: warning: description exists for non-existent rule HASHCASH_22 config: warning: description exists for non-existent rule HASHCASH_20 config: warning: description exists for non-existent rule AWL config: warning: description exists for non-existent rule HASHCASH_24 config: warning: description exists for non-existent rule SPF_SOFTFAIL config: warning: description exists for non-existent rule URIBL_AB_SURBL config: warning: description exists for non-existent rule SPF_FAIL config: warning: description exists for non-existent rule HASHCASH_21 config: warning: description exists for non-existent rule SPF_HELO_SOFTFAIL config: warning: description exists for non-existent rule URIBL_OB_SURBL config: warning: description exists for non-existent rule SPF_HELO_FAIL config: warning: description exists for non-existent rule HASHCASH_2SPEND config: warning: description exists for non-existent rule URIBL_WS_SURBL config: warning: description exists for non-existent rule URIBL_SBL config: warning: description exists for non-existent rule HASHCASH_23 config: warning: description exists for non-existent rule SPF_PASS config: warning: description exists for non-existent rule URIBL_PH_SURBL error: lint check of update failed! channel failed channel: lint check of update failed, channel failed What`s now? -- Viele Gruesse, Kind regards, Jim Knuth [EMAIL PROTECTED] ICQ #277289867 ---------- Zufalls-Zitat ---------- Gib einem Hungrigen einen Fisch, und er ist für einen Tag satt. Zeig ihm, wie man angelt, und er pöbelt Dich an, daß er besseres zu tun hätte, als Schnüre ins Wasser hängen zu lassen. (David Kastrup in de.comp.text.tex) ---------- Der Text hat nichts mit dem Empfaenger der Mail zu tun ---------- Virus free. Checked by NOD32 Version 1.1465 Build 6992 31.03.2006 ======= I encountered the same error messages with sa-update. I was able to make sa-update work after creating the directories manually as root with permissions 0700 and applying two changes to the /usr/bin/sa-update file: Line 126, which reads (mind the line wrap): $opt{'gpghomedir'} = File::Spec->catfile($LOCAL_RULES_DIR, '/sa-update-keys'); changed to delete the / as shown below: $opt{'gpghomedir'} = File::Spec->catfile($LOCAL_RULES_DIR, 'sa-update-keys'); Commented out line 1028 which reads: mkdir ($opt{gpghomedir}, 0700) or die "cannot mkdir $opt{gpghomedir}"; Tom Green -- Expertsites, Inc.