From: Marcin Krol <mrk...@gmail.com>
   Date: Thu, 18 Dec 2008 18:37:12 +0100
   
   Hello everyone,
   
   When I run sa-update -D --gpgkey 6C6191E3 --channel 
   sought.rules.yerp.org, it damages my SA installation!
   
sa-update puts rules in /var/lib/spamassassin/<VER> Once this directory
exists all site rules are expected to come from this directory.  The
previous installation directory (eg /usr/local/share/spamassassin) is
ignored.

Try doing sa-update of the normal rules before you use sa-update of
additional rule sets.
   ...

   And my SA doesn't score any mails anymore! I have to purge the existing 
   SA (dpkg -P spamassassin), reinstall it from scratch, restore conf files 
   from backups and then it works.
   
   WTF! Does anybody know what goes wrong?
   
Use -D to print see which config files is being read by spamassassin:

   % spamassassin --lint -D 2>&1 | fgrep 'config: using'
   [31869] dbg: config: using "/etc/mail/spamassassin" for site rules pre files
   [31869] dbg: config: using "/var/lib/spamassassin/3.001007" for sys rules 
pre files
   [31869] dbg: config: using "/var/lib/spamassassin/3.001007" for default 
rules dir
   [31869] dbg: config: using "/etc/mail/spamassassin" for site rules dir
   [31869] dbg: config: using "/home/jeff/.spamassassin/user_prefs" for user 
prefs file
   [31869] dbg: config: using 
"/var/lib/spamassassin/3.001007/updates_spamassassin_org/empty.pre" for 
included file
   [31869] dbg: config: using 
"/var/lib/spamassassin/3.001007/updates_spamassassin_org/10_misc.cf" for 
included file
   [31869] dbg: config: using 
"/var/lib/spamassassin/3.001007/updates_spamassassin_org/20_advance_fee.cf" for 
included file

-jeff

Reply via email to