You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by dhar b p <dh...@rediffmail.com> on 2001/10/29 13:26:05 UTC

Help for database user repository

hi,

I am new user of james. I have looked on the site and mailing list but was unable to find any doc or help there. So if please any one can help.
I have configured james to use SQL db for 'users' in users table.

my maildatabase file has 

jdbcDriver=sun.jdbc.odbc.JdbcOdbcDriver
jdbcURL=jdbc:odbc:emaildsn
jdbcUsername=sa
jdbcPassword=
minconn=1
maxconn=2

i have changed the relevant entries in JAMES.conf.xml file as below

   <userRepository> town://users </userRepository> 


   <repository type="USER" model="SYNCHRONOUS, ASYNCHRONOUS" destination="town://"
                    class="org.apache.james.userrepository.UsersTownRepository">
    <conn>file:///e:/james/var/maildatabase</conn>
    <table>Users</table>
</repository>


Using these settings i am able to create users using telnet. The users entry is inserted into User table. But the Pop3 Client is not able to connect to the server thereafter. James works fine if file repository is used instead.

If  u can solve my problem then help me out 
Many many thanks in advance.

dharmesh
 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>