Noah Meyerhans wrote:
> Bastian Kleineidam wrote:
> > As you can see below, I use sa-update to download a custom
> > channel for german spam rules.
>
> Future versions of spamassassin will store the default gpg key in
> /var/lib/spamassassin/sa-update-keys, which will be created during
> installation. If you want to import other keys, you can either pass
> "--gpghomedir /var/lib/spamassassin/sa-update-keys" (or some other
> directory) to sa-update, or you should create
> /etc/spamassassin/sa-update-keys yourself. Since this directory will not
> be used in the default configuration, it won't be created by the
> package.

I use sa-update to update the sought rules channel.  Since the recent
upload of 3.3.2-3 I have found that the following recipe in
/etc/cron.daily/spamassassin is required to do this successfully
without errors from the cron task.

I do not claim that this is correct.  Only that I could find no other
method to have it work successfully.  All other combinations and
permutations that I tried produced various errors.

  # Update
  umask 022
  su debian-spamd -c "sa-update --gpghomedir 
/var/lib/spamassassin/sa-update-keys"
  sa-update --gpgkey 6C6191E3 --channel sought.rules.yerp.org

Any comments from the maintainer on the new preferred method to update
custom rulesets would be read with attention.

Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to