Programatically adding mail - WAS [RE: Programatically adding users]

2003-12-02 Thread Erik Beijnoff
Does this also mean that outgoing and incoming mails can be added directly to their respective spool tables in the database? In other words, are the spool tables polled for mail regularly, or do James need to register the mails itself there to be aware of their existence? -Ursprungligt meddela

Re: Addition to FetchPOP

2003-12-02 Thread Carl
May be you should take a look at FetchMail (James 2.2.0.15a) which seems to be the future of fetchPop. I had to use fetchmail because of wanting to retrieve mail from IMAP accounts, and fond it very well designed. However I don't know if that solve your problems. Cheers, Carl Fox Sterling wr

Addition to FetchPOP

2003-12-02 Thread Fox Sterling
Not sure if feature requests should be sent to this list or development list. I started using the FetchPOP in order to filter mail from my ISP account, which does not seem to have any form of SPAM protection system. I noticed that the FetchPOP does not have a way to specify the recipients. Right

RE: James load test causes several exceptions

2003-12-02 Thread Noel J. Bergman
> - One set of tests sent 1.04KB plain text emails, the other 649KB G711 voice; James isn't as efficient as we'd like with large messages. That is an area to be worked on shortly. > We're using file as the spool type. Try using dbfile instead. > We enabled DEBUG logging That would slow things

RE: User storage in different databases depending on context?

2003-12-02 Thread Noel J. Bergman
> Is it possible to store users and mail into different databases, > depending on some sort of context information. Technically, yes. Practically, no. We should be able to faciliate that better in a future release. --- Noel -

RE: Disconnect between JAMES and MySQL

2003-12-02 Thread Steve Short
Check the the mysql server is allowing remote connections - you can use Squirrel, http://squirrel-sql.sourceforge.net/, to test that you can connect to the JDBC data source on the mysql server from the James server. Steve > -Original Message- > From: Hut Carspecken [mailto:[EMAIL PROTECT

Re: How to use sendmail's spool file with James POP server?

2003-12-02 Thread Ray Tran
Yes, that was it. Thanks to everyone who helped. Noel J. Bergman wrote: java.lang.NullPointerException at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:262) at java.lang.ClassLoader.loadClass(ClassLoader.java:282) at java.lang.ClassLoader.loadClass(ClassLoader.ja

Disconnect between JAMES and MySQL

2003-12-02 Thread Hut Carspecken
Good Morning, Last night Sudip and I had a problem with the following error. Server connection failure during transaction. Due to underlying exception: 'java.sql.SQLException: Invalid authorization specification, message from server: "Access denied for user: '[EMAIL PROTECTED]' (Using password

RE: How to use sendmail's spool file with James POP server?

2003-12-02 Thread Noel J. Bergman
>java.lang.NullPointerException > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:262) > at java.lang.ClassLoader.loadClass(ClassLoader.java:282) > at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > at org.apache.james.core.AvalonMailStore.sel

James load test causes several exceptions

2003-12-02 Thread Bungaro, Paola
Together with a couple of colleagues I'm investigating whether to replace Windows SMTP server with James as the transport mechanism for one of our products. One of the parts of the investigation involves load testing James to see how remote delivery performs under load and compare it with Window

Re: How to use sendmail's spool file with James POP server?

2003-12-02 Thread Ray Tran
Hi, thanks for the answer, I've tried it but can't get it to work - I get a null-pointer exception. I'd really like to do it this way because the Sendmail config is so bad (customer has weird requirements) I don't want to even touch it. It took me three days to get it to work in the first place - i

RE: Problem with trimmed SHA stored passwords in database

2003-12-02 Thread Erik Beijnoff
Thank you. That was very informative. By now I've almost guessed that some sort of truncation occurs in MimeUtility, since most part of my hash and the James hash is the same and the extra characters that exists in "my" hash certainly looks like hash data and not some sort of padding. Therefore I

RE: Problem with trimmed SHA stored passwords in database

2003-12-02 Thread Vincenzo Gianferrari Pini
See also http://www.mail-archive.com/[EMAIL PROTECTED]/msg04612.html Bye, Vincenzo > -Original Message- > From: Vincenzo Gianferrari Pini > [mailto:[EMAIL PROTECTED] > Sent: martedì 2 dicembre 2003 13.48 > To: James Users List > Subject: RE: Problem with trimmed SHA stored passwords in

RE: Problem with trimmed SHA stored passwords in database

2003-12-02 Thread Vincenzo Gianferrari Pini
Hello Erik, Months ago I incurred in your same problem using MD5, described among other things in the following message: http://www.mail-archive.com/[EMAIL PROTECTED]/msg04941.html My solution (with MD5) was simply to truncate the generated Base-64 string to 20 characters: in your case (using

Re: How to use sendmail's spool file with James POP server?

2003-12-02 Thread Danny Angus
> I figured out how to set up two POP3 servers, but I can't see how to make > the servers look at the sendmail spool files (/var/spool/mail/$USER). > Can anybody advise me on how to do this, or tell me it isn't possible so > I can stop fretting at it ;-) Ray, You'll always have to create acc

RE: How to use sendmail's spool file with James POP server?

2003-12-02 Thread Jason Webb
Hi Ray. James and Sendmail use completely different spool files for spooling incoming/outgoing mail. But... James can use mbox format mail boxes for storing user mail. If your customer's user spools are already in mbox format then it's very easy. In the config.xml file just use:

RE: How to use sendmail's spool file with James POP server?

2003-12-02 Thread Steve Brewin
Ray Tran wrote: > Hi, > I have a customer with a very complicated sendmail setup > which I _really_ > don't want to duplicate in James. However, I _do_ want to > replace the POP3 > and POP3S servers with James. > > I figured out how to set up two POP3 servers, but I can't see > how to make > the se

How to use sendmail's spool file with James POP server?

2003-12-02 Thread Ray Tran
Hi, I have a customer with a very complicated sendmail setup which I _really_ don't want to duplicate in James. However, I _do_ want to replace the POP3 and POP3S servers with James. I figured out how to set up two POP3 servers, but I can't see how to make the servers look at the sendmail spool fil

User storage in different databases depending on context?

2003-12-02 Thread Erik Beijnoff
After reading the documentation it seems as if the answer to this question is no, but I'd better check to be sure. Is it possible to store users and mail into different databases, depending on some sort of context information. Either [EMAIL PROTECTED] and [EMAIL PROTEC

RE: Problem with trimmed SHA stored passwords in database

2003-12-02 Thread Erik Beijnoff
Well, it is a motivated question, but it does not seem to be that problem. The column has a char length of 50 and I can generate longer keys into the column, with my own code. The only place where my code and the James code differs is where it converts the bytes to a String. My code: String hash

RE: List management

2003-12-02 Thread Noel J. Bergman
> I just want to know when the list server implementation with functionality > comparable to ezmlm (as mentionned in the TODO list) will be available. I > need a mailing list manager and I really want a free java-based solution. We have a start on one, and it just needs work. Should see more work