RE: Production Deployment

2010-02-11 Thread Kent Butler
Yes you can construct Mailets in Eclipse and build a jar of just your custom classes. Deploy to James under apps/james/SAR-INF/lib You will also need to declare your Mailets in the apps/james/SAR-INF/config.xml such as mailetpackagecom.myco.crm.mailets/mailetpackage mailet

RE: How do I reduce SPAM

2009-02-11 Thread Kent Butler
I looked through the source and it looks like that NaN value in the header is calculated as (p / (p + np)) where p == [p *= (token rating)] np == [1.0 - (token rating)] which to me, indicates a token rating outside of the 0.0 - 1.0 range, happening during the training period. Sounds

RE: sending email with a tomcat servlet, javamail + james

2008-05-21 Thread Kent Butler
If the problem is in your java, this is one simple way to configure your mail Session, although there may be better alternatives these days: public Session getMailSession() { if (mailSession == null) { // Try and initialize if we have an IP address Properties

RE: Project Path : to do list

2008-05-05 Thread Kent Butler
. Here's a nice example: http://krow.livejournal.com/594596.html Kent Butler -Original Message- From: Athar Shiraz Siddiqui [mailto:[EMAIL PROTECTED] Sent: Monday, May 05, 2008 3:01 PM To: James Users List Subject: Project Path : to do list I would like to start with documentation

RE: Emergency! Workaround needed for failing mailet

2007-12-06 Thread Kent Butler
/passThrough (it's the default behaviour). Hope it helps, Vincenzo Kent Butler wrote: Hi - We've got a mailet failing in production - what I'd like to do is: * continue to accept emails from clients * trap these in the repository, before my custom mailets get invoked in the handler chain

Emergency! Workaround needed for failing mailet

2007-12-05 Thread Kent Butler
Hi - We've got a mailet failing in production - what I'd like to do is: * continue to accept emails from clients * trap these in the repository, before my custom mailets get invoked in the handler chain * process these after I fix the problem I know how to do the third part. Sorry that the second

FromRepository mailet takes over server?

2007-05-30 Thread Kent Butler
Hi - We have been running James 2.3.0 for a couple months now. Recently I configured the FromRepository mailet to re-send our failed emails, which worked successfully: mailet match=All class=FromRepository repositoryPathfile://var/mail/error/repositoryPath

RE: FromRepository mailet takes over server?

2007-05-30 Thread Kent Butler
. I'm fairly new to the server so I'm just assuming these concepts exist in its architecture. Also I'm not set up as a developer yet. Please correct me if I'm wrong! Thanks - Kent -Original Message- From: Kent Butler [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 7:48 AM