Re: adding user using JSP/Servlet

2003-02-26 Thread Charles
Steve, > I have been learning struts/hibernate for my job. As an exercise, I created > a webapp which lets me add/modify/delete users. If you telnet to James to get a list of users, will it list the ones your webapp added? If you know how this could be done, please send me the code. Thanks. ---

RE: The Error Processor -

2003-02-26 Thread alan.gerhard
> One question is why the e-mail to postmaster is causing an > error. I receive > e-mail to postmaster without error. That's what's so bizarre. The account I am getting these mails delivered to IS the POSTMASTER account. > If you turn on DEBUG for the spooler, you should be able > to watch th

RE: adding user using JSP/Servlet

2003-02-26 Thread Noel J. Bergman
Alan, > isn't there an existing proposal for RMI which would > be valid for both version 2.x and 3.x ?? There is an existing proposal. No idea what state it is in. Certainly someone could leverage it. JMX could be a solution in the future, too. All depends upon which bull someone wants to tak

RE: adding user using JSP/Servlet

2003-02-26 Thread alan.gerhard
Not JNDI, but RMI... Noel, isn't there an existing proposal for RMI which would be valid for both version 2.x and 3.x ?? > > Is JNDI a solution for this? > > Not for James v2. But if people want to work on admin > webapp, we'll be happy to see it. :-) > > --- Noel _

Re: adding user using JSP/Servlet

2003-02-26 Thread Charles
Kenny, If you add a user directly through JDBC UserRepository, what are the requried attributes ( username, password..etc) to insert into a row? Will James automatically create an inbox and initialize any other necessary stuff for a user once a row has been inserted? I am worried that if I am

RE: adding user using JSP/Servlet

2003-02-26 Thread Noel J. Bergman
> Is JNDI a solution for this? Not for James v2. But if people want to work on admin webapp, we'll be happy to see it. :-) --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: adding user using JSP/Servlet

2003-02-26 Thread Charles
I agree managing users through telnet is fragile. But how do I get access to the JDBC UserRepository object in a servlet? I assume that James will need to read my config.xml and so I can't just create a instance of it in a servlet. If I just run the run.bat file, James will be properly configured,

RE: The Error Processor -

2003-02-26 Thread Noel J. Bergman
One question is why the e-mail to postmaster is causing an error. I receive e-mail to postmaster without error. If you turn on DEBUG for the spooler, you should be able to watch that message go to the error processor. What happens after that, as it goes through the next set of matchers and maile

The Error Processor -

2003-02-26 Thread alan.gerhard
James Users - I seem to be experiencing an anomaly with the way the Error Processor handles it's errors. I am running 2.1.2 and have a simple configuration - uses the Virtual Table but not the SmartHost as I have discussed earlier - this is a production box. All spam is sent to NULL. I am not

Re: adding user using JSP/Servlet

2003-02-26 Thread Steve
I have been learning struts/hibernate for my job. As an exercise, I created a webapp which lets me add/modify/delete users. Thanks to struts/tiles, it is very easy to modify the layout. So far, its nothing glamorous, basically add, modify, and delete a record in the users table. Also, as I said, I

Re: adding user using JSP/Servlet

2003-02-26 Thread Kenny Smith
Hi alan, Most likely! When I originally wrote it, I barely knew anything about James (not too much has changed *smile*) so I couldn't add cool things like that into it. I just needed to get a working product because I had convinced them to move from sendmail to James and I needed to replace th

Re: adding user using JSP/Servlet

2003-02-26 Thread alan.gerhard
Kenny - Since you are using the James package for password encryption, would it be that much more to use the interface to the user repository ?? This way your code could be used as a basis for a more generic web-based user management utility. > I'm using the JDBCUserRepository to store my user

Re: adding user using JSP/Servlet

2003-02-26 Thread Kenny Smith
Hi Charles, I'm using the JDBCUserRepository to store my users, and I just wrote a webapp that inserts rows into the database directly. I used one of the James classes to encrypt the password (so it would always be done the same way) and that works great for me. I hate doing something interact

Re: Spam Honeypot

2003-02-26 Thread bill parducci
ok, i think we are both talking in two different directions, because you are still seem to be taking sample sharing and i am still taking analysis mechanism. at this point i wish you well and bow out of the discussion (on list). b alan.gerhard wrote: I must have been unclear - A bayesian spam fil

RE: Spam Honeypot

2003-02-26 Thread alan.gerhard
>> James currently touts a Bayesian mailet, but employs only an >> overall data source and is not concerned with individual >> preference; to be an effective SPAM blocker, a relationship >> needs to be established between a specific user and her >> Bayesian lists. >Actually, Alan, you are mistake

adding user using JSP/Servlet

2003-02-26 Thread Charles
I am implementing a membership website using JSP and servlet. Whenever a new user signs up, a signupServlet will telnet to James and create a new pop/smtp account. I don't know if this approach is what James developers had in mind for automatical account creation. Any comments/suggestions are a

RE: create an archive of a list

2003-02-26 Thread Lacoste (Frisurf)
Ok thanks. Didn't see the wiki link. I was looking under the Documentation and the wiki link is further up on the page. Jerome On Tue, 2003-02-25 at 20:12, Noel J. Bergman wrote: > > I would like to archive a James mailing list. > > As Nicola pointed out on the Wiki in response to someone else,

RE: Spam Honeypot

2003-02-26 Thread Danny Angus
Bill, This is a pretty god point, but it diverges from the issue as far as Chris Means' mailet is concerned because a shared corpus is actually a very good starting point for training a system , and more effective than starting from scratch. It is pretty easy to alter the behaviour by forwardin

RE: Spam Honeypot

2003-02-26 Thread Danny Angus
> James currently touts a Bayesian mailet, but employs only an > overall data source and is not concerned with individual > preference; to be an effective SPAM blocker, a relationship > needs to be established between a specific user and her > Bayesian lists. Actually, Alan, you are mistaken; Jam

RE: Spam Honeypot

2003-02-26 Thread Danny Angus
> That is exactly my planI will place my honeypot server on the > internet, > open up port 25, capture all the gory details, and then dump the email to > null. But if you do that you won't necessarily get much spam, trust me I've had a number of servers running for a number of years, spam te