Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2010 16:28:08 +0100
From:      Olivier Mueller <om-lists-bsd@omx.ch>
To:        Gabor Kovesdan <gabor@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: p5-Mail-SpamAssassin-3.2.5_4 -> where are the rules located?
Message-ID:  <1265815688.10356.16.camel@ompc.insign.local>
In-Reply-To: <4B72818F.4090804@FreeBSD.org>
References:  <AB01C407-7BD1-40D9-9A2C-218570529C0B@hydrix.com> <CD9F33B3-6FEA-4076-ABE4-BFB0394922BB@omx.ch> <4B71D52C.1020201@FreeBSD.org> <43E2F36675D646DFAB69A37540EE9026@jarasc430> <4B72818F.4090804@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1265815688.10356.16.camel>