FreeBSD Port: p5-Mail-SpamAssassin-3.2.5_4 -> where are the rules located?

Olivier Mueller om-lists-bsd at omx.ch
Wed Feb 10 15:28:15 UTC 2010


On Wed, 2010-02-10 at 10:51 +0100, Gabor Kovesdan wrote:
> El 2010. 02. 10. 6:17, Jack Raats escribió:
> >> Please commit it a.s.a.p. There is a port freeze coming, due to the 
> > FreeBSD 7.3 release.
> >
> > Thanks for the good work.
> Done. Enjoy! :) Btw, ports freeze isn't a hard lock any more, only 
> sweeping commits are bound to portmgr approval.

Thanks for the cool stuff!  Looks good here, just followed the docs and
updated the rules with sa-update, everything seems to work as before on
a good old 6.x system. 

But there is something strange: where are the rules located now?  They
used to be in /usr/local/share/spamassassin but now, on the upgraded
system:

[om at ibox /usr/local/share/spamassassin]$ ls -la
total 112
drwxr-xr-x   2 root  wheel     512 Feb 10 15:47 .
drwxr-xr-x  69 root  wheel    1536 Feb 10 15:47 ..
-rw-r--r--   1 root  wheel  101479 Feb 10 15:47 languages
-rw-r--r--   1 root  wheel    4777 Feb 10 15:47 sa-update-pubkey.txt
-rw-r--r--   1 root  wheel    1869 Feb 10 15:47 user_prefs.template
[om at ibox /usr/local/share/spamassassin]$ 


And it should be there according to sa-update -D:

Feb 10 16:21:01.748 [63573] dbg: generic: SpamAssassin version 3.3.0
Feb 10 16:21:01.748 [63573] dbg: generic: Perl 5.008009, PREFIX=/usr/local, 
  DEF_RULES_DIR=/usr/local/share/spamassassin,                <=======================
  LOCAL_RULES_DIR=/usr/local/etc/mail/spamassassin, 
 LOCAL_STATE_DIR=/var/db/spamassassin
Feb 10 16:21:01.748 [63573] dbg: config: timing enabled [...]


I see them
under:  /var/db/spamassassin/3.003000/updates_spamassassin_org/
but is spamassassin now really loading the rules from there directly?
Is this new? Just saw nothing about that in the release docs.

It seems to be the case... Rules seems to be "ok": 
Feb 10 16:24:26 ibox spamd[66708]: spamd: result: . 1 - BAYES_50,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_KHOP_FOREIGN_CLICK,URI_HEX scantime=3.5,size=30506
etc.

Regards,
Olivier



More information about the freebsd-ports mailing list