On Wed, 17 Mar 2004 17:13, Clive Tonge wrote:
> I finally have the listserver working in version 2.2.0a13
>
> Note to others: If you are having problems with listserve - check and
> double check the list names and the repository names in your
> configuration files.
>
> While it is up and running I would like to be using it with the database
> as the user repository.  There isn't a sample of  that in
> james-liststores.xml. I did try the sample from the documentation for
> version 2.13 but that didn't work.
>
> How do I setup the user repository in the database??  Can I ?

    Yes I am doing this with 2.2.0a14 in $JAMES_HOME/app/james/conf

    this is two files james-listmanager.xml and james-liststores.xml
    I'm guessing you've already edited james-listmanager.xml to get
    the list work, now edit james-liststores.xml and add something like;

  <repository name="list-first"
                 class="org.apache.james.userrepository.ListUsersJdbcRepository"
                 destinationURL="db://maildb/lists/first">
     <sqlFile>file://conf/sqlResources.xml</sqlFile>
  </repository>

  <repository name="list-second"
                 class="org.apache.james.userrepository.ListUsersJdbcRepository"
                 destinationURL="db://maildb/lists/second">
    <sqlFile>file://conf/sqlResources.xml</sqlFile>
  </repository>

  I then have a table in the database called LISTS
  just make the table definition out of the sqlResources.xml file
  for your particular database vendor....


  Hope that helps
    Scott.


>
> Thanks for the help.
> Clive
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to