Baris,
Thanks for the Oracle connection definition. As for the docs, I'm actually
in the middle of rewriting a whole new James set of docs, partially because
we don't have enough documentation and partially because we are moving to
the Jakarta site in the next few weeks. For the database user repository,
it uses whatever table name you specify in the definition of the town://
repository, and it looks for 2 columns... one named username and one named
password. Unfortunately for the moment we're not encrypting passwords.
Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: "devrim baris acar" <[EMAIL PROTECTED]>
To: "Java Apache Mail Server" <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 10:15 AM
Subject: RE: User management API
> Thanks Sergei,
> I have just moved the messages repository to our oracle server.
> But one problem I could not find the Users table definition in the
> documentation set.
> It does not exist in docs directory.
> That would be very good if someone sent the description.
> BTW,here is the oracle database conf for maildatabase if someone could
find
> it helpful.
> Thanks in advance.
> baris
>
> maildatabase file:
> -----------------
> # Change the URL and username/password to match your configuration
> # This driver is available from http://technet.oracle.com
> jdbcDriver=oracle.jdbc.driver.OracleDriver
> jdbcURL=jdbc:oracle:thin:@hostname:port(defaults to 1521):SID
> jdbcUsername=username
> jdbcPassword=password
> minconn=1
> maxconn=2
> ----------------------
>
>
> > -----Original Message-----
> > From: Serge Knystautas [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, January 16, 2001 4:27 PM
> > To: Java Apache Mail Server
> > Subject: Re: User management API
> >
> >
> > ----- Original Message -----
> > From: "devrim baris acar" <[EMAIL PROTECTED]>
> >
> >
> > > Hi,
> > > I have installed JAMES and it works fine.
> > > I plan to setup a hotmail like service using james and servlets.
> > >
> > > As far as I have seen from the source code, I have to have a running
> > avalon
> > > mailserver
> > > in order to add a user to james repository. I don't plan to use LDAP
> > for
> > > the time being.
> > >
> > > The question is if it is possible to use the addUser function from a
> > java
> > > application or servlet vs?
> > > Or should i open a socket connection to 4555 and issue the "add"
> > command
> > > from there? Of course I prefer
> > > the first way.
> > >
> > > Have a nice day,
> > > baris
> >
> > Baris,
> >
> > To edit the avalon/file-based user repository, you would need to have
> > James
> > running and telnet to 4555. With the architecture you are proposing, I
> > would consider using the database user repository so that you can store
> > accounts and passwords through JDBC. Then your servlets can interact
> > with
> > this more directly since James itself is not yet able to expose the user
> > list in an API.
> >
> > Serge Knystautas
> > Loki Technologies
> > http://www.lokitech.com/
> >
> >
> >
> > ------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Archives: <http://www.mail-archive.com/james%40list.working-dogs.com/>
> > Problems?: [EMAIL PROTECTED]
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives: <http://www.mail-archive.com/james%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives: <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]