Sample Mailet

2003-10-19 Thread Emre Sokullu
Hi all .. Here comes a newbie question... Can anyone write a simple mailet code sample ? I've searched on the net for a sample code of mailet but I couldn't find anything. I want a very simple example... how it works ? How should I configure config.xml ? Let's say I have written a mailet name

RE: Sample Mailet

2003-10-19 Thread Noel J. Bergman
> Can anyone write a simple mailet code sample ? There are plenty of them in magazine articles, as well as the James source. > Let's say I have written a mailet named "distribute.class" Use class="distribute" in a mailet tag. --- Noel ---

RE: Stuck outgoing mail

2003-10-19 Thread Noel J. Bergman
> We need an offline way to view the contents of the SPAM filter. > Short of moving all these files back to the spool directory, > is there a way to view their contents? You have various options. As you had suggested in one of your own bug reports, "tell James to forward them to the original dest

Mailing lists broken in 2.2 alpha?

2003-10-19 Thread Gili
Hi, I configured a mailing list in the latest nightly build and sent an email to a list I was not a member on. It replied with the following text: [snip] To subscribe to the list, send a message to: <[EMAIL PROTECTED]> [/snip] So notice the above, my mailing list is "soen" an

RE: Mailing lists broken in 2.2 alpha?

2003-10-19 Thread Noel J. Bergman
> I configured a mailing list in the latest nightly build and > sent an email to a list I was not a member on. It replied > with the following text: > To subscribe to the list, send a message to: ><[EMAIL PROTECTED]> Seems correct. > But when I email "soen-subscribe", the mail gets dumped du

RE: Mailing lists broken in 2.2 alpha?

2003-10-19 Thread Gili
Noel, Thanks for the quick reply. I tracked down the problem. In processor "root" I had: transport before the list-handling code. I solved the problem by moving the list-handling code from the "root" processor to the "transport" process

Mailing lists: auto-subscribing people?

2003-10-19 Thread Gili
Hi, I'm migrating from an old mailing list to James' list system. Is there a way for an administrator to automatically add people to a list? I'd like to recreate the mailing lists automatically without asking people to resubscribe themselves. Thanks, Gili

RE: Mailing lists broken in 2.2 alpha?

2003-10-19 Thread Noel J. Bergman
> In processor "root" I had: > > transport > > before the list-handling code. Yes, that would be a problem. > I solved the problem by moving the list-handling code > from the "root" processor to the "transport" processor. > I think we should do this by default. We could. I have the

Slow InSpammerBlacklist

2003-10-19 Thread Noel J. Bergman
Gili, > The reason I had "RemoteAddrInNetwork=127.0.0.1" in the root > processor is because I'm experiencing slow spooling problems > with the spammer-blacklist InSpammerBlacklist is really trivial, and just uses: InetAddress.getByName(sb.toString()); Feel free to instrument it or write your

RE: Slow InSpammerBlacklist

2003-10-19 Thread Noel J. Bergman
> I modified the original InSpammerBlacklist code and I want to insert the > modified class file into the classpath *before* the shipped version. How > do I accomplish this in the alpha version? Either change the package name, and do it as any custom package, or build the SAR file. --- No

RE: Slow InSpammerBlacklist

2003-10-19 Thread Noel J. Bergman
Gili, E-mail should be sent via the community mailing lists in plain text. > As you described, DNS is having problems resolving the blacklist addresses. > This is odd because my DNS server works fine (and FAST) for everything > else. Here is what I used for testing: > nslookup 12.179.185.208.rel

RE: Mailing lists: auto-subscribing people?

2003-10-19 Thread Noel J. Bergman
> Is there a way for an administrator to automatically > add people to a list? I manage by lists in mysql, and manage them that way. The table formats are in the sqlResources.xml file. --- Noel - To unsubscribe, e-mail

RE: Mailing lists: auto-subscribing people?

2003-10-19 Thread Gili
There is no way to manage the non-DB format? Gili On Mon, 20 Oct 2003 00:06:00 -0400, Noel J. Bergman wrote: >> Is there a way for an administrator to automatically >> add people to a list? >I manage by lists in mysql, and manage them that way. The table formats are >in the sqlResourc

RE: Mailing lists: auto-subscribing people?

2003-10-19 Thread Noel J. Bergman
> There is no way to manage the non-DB format? Nope. It only exists for those people who don't have a database. In fact, I was just asked about deprecating file system repositories for database, since there are embeddable JDBC databases (e.g., Axion). We probably will do that eventually, except

RE: Mailing lists: auto-subscribing people?

2003-10-19 Thread Gili
Will any JDBC-supporting DB work with James? I'm thinking of installing http://www.objectdb.com/ Thanks, Gili On Mon, 20 Oct 2003 00:28:50 -0400, Noel J. Bergman wrote: >> There is no way to manage the non-DB format? >Nope. It only exists for those people who don't have a database.

RE: Slow InSpammerBlacklist

2003-10-19 Thread Gili
Problem solved. My ISP DNS was fine.. took me a while but I tracked down the problem. I am connected to my workplace via VPN. This automatically configures their DNS servers on my DNS server list. James was auto-detecting and using there servers for blacklist lookups. Due to th

RE: Mailing lists: auto-subscribing people?

2003-10-19 Thread Noel J. Bergman
> Will any JDBC-supporting DB work with James? I'm thinking > of installing http://www.objectdb.com/ You may have to add entries for that database to sqlResources.xml. If so, please submit a patch once you have it working. --- Noel --