Ivan,

Thanks... if nobody else has already, I'll test the new user repository and
commit it to the 1.2 branch (which we can merge with the avalon branch when
it's ready).  I'm using the town mail repository for all my mail
repositories in my prod server and am very interested in getting this setup
for the pop3 accounts I'm hosting.

Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 23, 2000 9:39 AM
Subject: RE: Which version of Avalon does James use.


> >Which version of Avalon does James 1.2 use? I am trying to extend James
> >so that it uses an RDBMS for the user repository. When I went through
> >the code for James and compare it with the code for the latest
>
> Hi Prasanna,
>
> maybe I can help you with this: attached is my attempt at
UsersTownRepository. It wasn't exhaustively tested and no guarantees but it
should work OK. Just put it in userrepository directory and recompile JAMES.
You also have to modify your config file (JAMES.conf.xml) by :
>
> commenting out
>             <userRepository> file://../var/users/ </userRepository>
> and adding
>             <userRepository> town:// </userRepository>
> as well as adding
>                 <repository type="USER" model="SYNCHRONOUS, ASYNCHRONOUS"
>                     destination="town://"
>
class="org.apache.james.userrepository.UsersTownRepository">
>                     <conn>file:///var/maildatabase</conn>
>                     <table>Users</table>
>                 </repository>
>
> to repositoriesDefinition. The Users table should have at least UserName
and Password columns.
>
> Ivan.
>
> PS: Since list bounces messages with attachments, I had to paste the file
into the message.




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives:  <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to