RE: Usual encoding problem + size limit.

2003-10-13 Thread Noel J. Bergman
> I get the following exception: > java.sql.SQLException: Communication link failure: > com.mysql.jdbc.PacketTooBigException This has to do with how you configure the database server. See: http://james.apache.org/FAQ.html#16. See also the MySQL documentation for max_allowed_packet. ---

Re: Integrating James with other applications

2003-10-13 Thread Jens A. Jensen
tobe wrote: For configuring users and virtual hosting you could access the database, if you have one set up for James. Alternatively you could use a socket to connect to the remote manager port. I have written a telnet client that connects to the Remote Manager, and I'm currently writing a

RE: number of jserv threads

2003-10-13 Thread Noel J. Bergman
> I am using apache -jserv set up Do you mean Apache James, the mail server? Or Apache JServ, an early servlet container implementation? If your question is for James, we'll want to know more information, such as the version of James, the JVM, and the operating system. If your question is regar

RE: Integrating James with other applications

2003-10-13 Thread Noel J. Bergman
> Well in the hosting environment I'm looking at there is one > UI/controller application and everything has to integrate > with that environment. As I said, you could look at either the supported telnet interface, the unsupported RMI interface proposal, or help with the nascent JMX effort. > is

RE: Request for FAQ entry or how to stop James from eating your mail...

2003-10-13 Thread Noel J. Bergman
> Now the default configuration is definitely doing the right thing by > blocking outgoing mail from hosts other than localhost. That is smart > and kudos to whomever came up with that. However it is not clear how > you stop James in its default configuration from eating all of your > mail. I don'

RE: More Detailed POP3 Logging

2003-10-13 Thread Noel J. Bergman
> Pretty interesting piece of software - has some 'philosophical' > design issues that are somewhat strange [...] Such as? Are you talking about architecture, design or implementation? > but otherwise welcome to the world of an actually usable Java > based email server. Plenty of room for impr

RE: Integrating James with other applications

2003-10-13 Thread Noel J. Bergman
> I joined this list to figure out how to best integrate James. > The only thing I can think of now is being able to dynamically > add/remove users and aliases from James from my application. If > those methods were available within our application, it could make > things very easy. People have w

RE: Integrating James with other applications

2003-10-13 Thread Noel J. Bergman
> * instantiate What does this mean? > * start/stop Call the script(s). You can also use the telnet interface, or play with the RMI interface proposal > * add/remove configure users Use telnet interface, manuiplate a JDBC repository directly, or play with the RMI interface proposal > * add/r

RE: Usual encoding problem + size limit.

2003-10-13 Thread Noel J. Bergman
Marco, As Serge said, the exception appears to be an encoding problem. I would have liked to have seen the , since you chopped off the part that (hopefully) would have told us who was calling storeMail. One thing that we still need to do is audit where we are allowing JavaMail to parse messages.

Re: Integrating James with other applications

2003-10-13 Thread Gregory Pierce
This is actually in the direction I'm headed. Are there any plans to expose a service interface of some sort in a standard manner? If so I can wait or even help out (probably by just writing whatever is planned). What I really need is juat an exposed API that can be accessed by applications tha

Re: Usual encoding problem + size limit.

2003-10-13 Thread Serge Knystautas
Marco Tedone wrote: Serge, thank you for your reply. I deleted the specification of the maximum packet allowed, I also upgraded the jdbc connector for MySQL to 3.0.6-stable but I get the following exception: java.sql.SQLException: Communication link failure: com.mysql.jdbc.PacketTooBigEx ception

RE: Wildcard address mailet?

2003-10-13 Thread Brian J. Sayatovic
Well, that's not quite exactly what I wanted. I'm not even using the JDBCVirtualUSerTable. I'veo nly got a few users, so I don't feel the need to set up a database just for users. So, I think I might try and tackle this one myself. I've only written one Mailet before (a bayesian spam filter), b

Re: Wildcard address mailet?

2003-10-13 Thread Kenny Smith
Hey Brian, I use the JDBCVirtualUserTable mailet which allows wildcard address of the form [EMAIL PROTECTED], but not [EMAIL PROTECTED] However, I still have a solution for you. What I do is when I give out addresses, I use their domain at my domain. Like when I sign up for amazon, I use [EMAI

Wildcard address mailet?

2003-10-13 Thread Brian J. Sayatovic
Does anyone know of a mailet that would allow me to use wildcard e-mail addresses? That is, I'd like to have trin-@domain.com go to the 'trin' mailbox. I imagine something like that would be easy to build, but before I reinvent the wheel, I hoped someone else might have such a mailet. The goal i

Re: Usual encoding problem + size limit.

2003-10-13 Thread Marco Tedone
Serge, thank you for your reply. I deleted the specification of the maximum packet allowed, I also upgraded the jdbc connector for MySQL to 3.0.6-stable but I get the following exception: java.sql.SQLException: Communication link failure: com.mysql.jdbc.PacketTooBigEx ception at com.mysql.

Re: Integrating James with other applications

2003-10-13 Thread tobe
Gregory Pierce wrote: Essentially what I need to do is: * instantiate * start/stop * add/remove configure users * add/remove configure spam filters * add/remove configure virtual hosting It just needs to integrate with another application. For configuring users and virtual hosting you could acces

RE: Integrating James with other applications

2003-10-13 Thread Steve Short
You can use the JMXLauncher in Phoenix to start James in any app server that supports JMX, I have it working in JBoss, WebLogic and WebSphere. Last time I looked, the JMXLauncher was not available in a released version of Phoenix so if this is still the case you'll need to get the Phoenix sources

Re: Integrating James with other applications

2003-10-13 Thread Stephen McConnell
Gregory Pierce wrote: Hi folks, I've been using James successfully for a while now and would like to embed James into another application for webhosting. I've been trying to figure out what the best methodology is for doing this since the Avalon container is fairly stand-alone and I cannot '

Re: Integrating James with other applications

2003-10-13 Thread Gregory Pierce
Well in the hosting environment I'm looking at there is one UI/controller application and everything has to integrate with that environment. Integration is a requirement of the design for a variety of reasons - but mostly because that's just they way they want it :) As such I'm trying to find t

Re: Integrating James with other applications

2003-10-13 Thread Ryan J. McDonough
And sorry for the read reciept, left on by accident :( Ryan- Ryan J. McDonough wrote: I joined this list to figure out how to best integrate James. This is something I've been pondering myself for a while now and I thought of serveral things I'd like to be able to do from another apps servers su

Re: Integrating James with other applications

2003-10-13 Thread Ryan J. McDonough
I joined this list to figure out how to best integrate James. This is something I've been pondering myself for a while now and I thought of serveral things I'd like to be able to do from another apps servers such as JBoss. The only thing I can think of now is being able to dynamically add/remove us

Re: Integrating James with other applications

2003-10-13 Thread Gregory Pierce
Essentially what I need to do is: * instantiate * start/stop * add/remove configure users * add/remove configure spam filters * add/remove configure virtual hosting It just needs to integrate with another application. On Monday, October 13, 2003, at 01:41 PM, tobe wrote: Gregory Pierce wrote: H

RE: Setup

2003-10-13 Thread Shishir K. Singh
>Hello, > >I am new on this list and joined this list since I want to start using James. In the >setup document for James (setting up sendmail so that the mails are routed from >sendmail to James and then to the outer world and vice versa, it seems that the setup >has been documented for AIX

Re: Setup

2003-10-13 Thread tobe
Shishir K. Singh wrote: Hello, I am new on this list and joined this list since I want to start using James. In the setup document for James (setting up sendmail so that the mails are routed from sendmail to James and then to the outer world and vice versa, it seems that the setup has been docu

Re: Integrating James with other applications

2003-10-13 Thread tobe
Gregory Pierce wrote: Hi folks, I've been using James successfully for a while now and would like to embed James into another application for webhosting. I've been trying to figure out what the best methodology is for doing this since the Avalon container is fairly stand-alone and I cannot 'in

Setup

2003-10-13 Thread Shishir K. Singh
Hello, I am new on this list and joined this list since I want to start using James. In the setup document for James (setting up sendmail so that the mails are routed from sendmail to James and then to the outer world and vice versa, it seems that the setup has been documented for AIX Unix.

Re: More Detailed POP3 Logging

2003-10-13 Thread Gregory Pierce
Don't sweat it. I'm new to it as well :) Pretty interesting piece of software - has some 'philosophical' design issues that are somewhat strange but otherwise welcome to the world of an actually usable Java based email server. On Monday, October 13, 2003, at 12:37 PM, J Malcolm wrote: Is it ob

Re: More Detailed POP3 Logging

2003-10-13 Thread J Malcolm
Is it obvious that I'm new to James??? Thanks a bunch. I'm gettin' there J. - Original Message - From: "Gregory Pierce" <[EMAIL PROTECTED]> To: "James Users List" <[EMAIL PROTECTED]> Sent: Monday, October 13, 2003 11:14 AM Subject: Re: More Detailed POP3 Logging $JAMES_HOME/a

Integrating James with other applications

2003-10-13 Thread Gregory Pierce
Hi folks, I've been using James successfully for a while now and would like to embed James into another application for webhosting. I've been trying to figure out what the best methodology is for doing this since the Avalon container is fairly stand-alone and I cannot 'instantiate' james from

Re: More Detailed POP3 Logging

2003-10-13 Thread Gregory Pierce
$JAMES_HOME/apps/james/SAR-INF/environment.xml contains all of the log level information. Open this file and set the log level for the POP3 service (and likely mailspooler) to DEBUG. On Monday, October 13, 2003, at 12:09 PM, J Malcolm wrote: Is there any way to turn on more detailed logging/tra

Request for FAQ entry or how to stop James from eating your mail...

2003-10-13 Thread Gregory Pierce
Hi folks, I am a relative new-comer to the James world and I was just able to solve a problem that it appears (from searching the logs) that many newcomers have had related to the default configuration of James. Now the default configuration is definitely doing the right thing by blocking outg

More Detailed POP3 Logging

2003-10-13 Thread J Malcolm
Is there any way to turn on more detailed logging/tracing in the POP3 log?  It currently just logs that a connection was made and closed.  I'd love to see "retrieving note from [EMAIL PROTECTED];  deleting note from [EMAIL PROTECTED]: etc. entries.  Any way to easily get that type of info log

Only using a little memory

2003-10-13 Thread Steen Jansdal
Hi, Recently there has been a lot of talk about memory usage, and James in it's default setup is NOT very memory friendly. But there is things you can do about it. Unless you have dedicated computer which only purpose it is to run James, James has to be a good citizen, not occupying all the memory