From: <sn...@sh...> - 2005-05-14 06:25:55
|
Hi all, I'm the founder of the jASEN project and thought I may be able to answer some of the questions posted. anonymous wrote : | jASEN has two different directories of data that it relies on - one for configuration information and one is the "database" it uses to determine scoring. | | ... | | Where can/should these directories go for a production style deployment? | The two directories referred to here need only be in the classpath of the application. They can physically reside anywhere as long as they can be referenced as relative paths by the engine and hence must be in the classpath. anonymous wrote : | I need to do a bit more research but from what I currently read the configuration can be read-only (if you never want to change the config of course) but the "database" should be read-write to allow training. | This is not quite correct. The "database" (which is really just a file) is loaded at start-up and referenced in a read-only fashion during operation. Training is currently an offline process and whilst this database can be updated dynamically (without restarting the engine) there is no facility for live "training" in the current release. anonymous wrote : | 5 - run out of memory when initializing the jasen confg :( | This is likely happening due to the in-memory nature of the spam heuristics used in the engine. For this there are two solutions: 1. Increase the default heap size (as you have done) 2. Implement your own JasenMapStore class. This is the actual "database" of heuristics. The default implementation loads the DB info memory by you can implement it however you like. The simplest solution is to just increase the heap size. wrt MIME formatting. jASEN MUST be given a MIME formatted email. This is because it uses JavaMail to parse the email message and hence must conform to the relevant rfc's (822, 2822). If the message is not in MIME format you pretty much can't scan it. The assumption here is that jASEN scans only email. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877734#3877734 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877734 |