On Wed, 11 Aug 2010 17:30:40 -0400
Bowie Bailey <bowie_bai...@buc.com> wrote:

>  On 8/11/2010 3:30 PM, John Hardin wrote:
> > On Wed, 11 Aug 2010, Bowie Bailey wrote:
> >
> >> Right.  And I'm checking for updates several times a day.  If the
> >> updates channel is not keeping up with sought, I need to make sure
> >> I am running the rules from the dedicated channel and not the
> >> updates channel so I have the latest.
> >
> > The current situation is: automatic rule updates are only generated
> > when the corpa of recent messages used in the nightly masscheck is
> > sufficiently large (150k+ of both spam and ham, IIRC), and that's
> > been difficult to achieve for a while due to ham starvation. More
> > volunteers to perform nightly local masschecks of fresh ham corpora
> > and upload the results, or to maintain and upload non-private ham
> > corpora to the nightly masscheck server, would be most welcome!
> >
> > If you watch 72_scores.cf in SVN you can get an idea of when the
> > last automatic update occurred.
> >
> > http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/scores/72_scores.cf?view=log
> >
> >
> > Manual updates typically only occur for OMG! bugs or when the last
> > automatic update gets stale enough to be a problem.
> >
> > Moving the sought channel update to z_sought seems like a good idea
> > to me, perhaps Justin should do that at the root so that everybody
> > gets scores if they subscribe to the channel.
> 
> In case anyone else is following this...
> 
> The sa-update process made things a bit more complex than simply
> renaming the file after updates.  If that's all you do, then sa-update
> loses track of the file and will download a new copy on every run.
> What I had to do is this:
> 
> 1) Rename the .cf file back to the original name so sa-update can
> find it 2) Run sa-update
> 3) Rename the .cf file to z_sought_rules_yerp_org.cf
> 4) Restart spamd
> 
> You don't have to mess with the directory, just rename the main
> sought_rules_yerp_org.cf file.
> 

Would it not be simpler just to do something like this

grep -E "^score" 
/var/db/spamassassin/*/sought_rules_yerp_org/20_sought_fraud.cf > 
/usr/local/etc/mail/spamassassin/sought_fraud_scores.cf


or simply paste the scores into local.cf

Reply via email to