[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [vps-mail] Bayes --force-expire problem



For anyone else with a similar problem to this, I figured I'll share the
solution. It was triggered from Abigail and Scott's discussion on
permissions. When I log in as root and run sa-learn --force-expire, it does
the expire as it is suppose to. However, because I'm logged in as root, it
naturally leaves the owner as root instead of jimsmith. If I had changed it
back from root to jimsmith, I'm sure it would have been fine. However, now I
know for next time.

Jim

> -----Original Message-----
> From: owner-vps-mail@xxxxxxxxxxxx 
> [mailto:owner-vps-mail@xxxxxxxxxxxx] On Behalf Of Jim Smith
> Sent: Wednesday, April 28, 2004 11:11 AM
> To: vps-mail@xxxxxxxxxxxx
> Subject: [vps-mail] Bayes --force-expire problem
> 
> I notice that my Bayes token and journal file continues to 
> grow unless I periodically run the command:
> sa-learn --force-expire -D
> 
> I have "bayes_auto_expire 1" in my user_prefs file but it 
> doesn't seem to do anything.
> When I run force expire, I think it is supposed to 
> incorporate the journal entries into the tokens and remove 
> any obsolete entries. It does remove my journal file and I 
> assume updates everything. It seems that by doing that I'm 
> able to keep my token file at around 5 megs. I also have 
> "bayes_expiry_max_db_size 110000" if that makes a difference.
> 
> Now the problem. I just ran that command. Everything seemed 
> to be as normal.
> However, I've noticed that my level of unfiltered spam just 
> jumped up. All the entertainment book commercials and other 
> debris that I've not had to deal with are again landing in my 
> inbox. I've been checking the headers and it seems that bayes 
> forgot all it's learning and is marking everything at
> bayes=0.5 again <sigh>.
> 
> Did I do something wrong? Does it need to re-learn stuff? I 
> tried having it relearn my corpus (sa-learn 
> /home/jimsmith/corpus/ham --ham --mbox -D) but it said out of 
> 188 messages it had already learned them all. 
> 
> When the Bayes is working well, it is wonderful! I'm 
> absolutely hooked on its ability to filter accurately. I'll 
> just be a very happy camper when/if this Bayes thing all 
> becomes automated for the shared servers (VPS2) so I don't 
> botch things each time I blunder through. Any suggestions to 
> fix my latest blunder? 
> 
> Thanks,
> 
> Jim Smith
> 
>  --------------------------------------------------------
>            Jim Smith, Blarneystone, LLC.
>   Website Design, Hosting, Development & Enhancement
>    E-MAIL:      jimsmith@xxxxxxxxxxxxxxxx
>    WEBSITE:     http://www.blarneystone.com
>  --------------------------------------------------------
> 
> ======================================================================
> This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
> Before posting a question, please search the archives (see above URL).
> 

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: