Yes I would like to know the same thing if someone were nice enough to
put it in tutorial form as in a blog that would be sweet.


Regarding the links provided :

>> There are also many other ways, a few are described here.

Indeed ; although I ma finding it hard to discover an answer here ;
and most people are hard pushed to provide one; by the looks of it
this  ought to be in the faq but its not.

>> http://markmail.org/message/fx43xflhh4mpskgc

1) could use the RemoteManager commands (adduser, deluser) programmatically.
see: http://james.apache.org/adding_users_2_1.html  (LINK NOT WORKING!!!)


>> http://markmail.org/message/q4fvcypw47vhypzw

1) org.apache.mailet.UsersRepository (but not clear how)
2) JMX
3) telnet

>> http://markmail.org/message/fjtdpizxhs3mbxw3

mentions writing to some db but not clear which one?  does james run a db?

>> http://markmail.org/message/lgj7mmxc3252fspi

(ant script? how would I integrate it with an RubyOnRails web application?)
MBeans? not helpful nor easy.

>> http://markmail.org/message/duklfz6iv43isx5x

(not helpful)


On Thu, May 22, 2008 at 10:33 PM,  <[EMAIL PROTECTED]> wrote:
> Can any buddy tell me , How to use database in backend.
>
> Vineet
>
> On 5/22/08, Bernd Fondermann <[EMAIL PROTECTED]> wrote:
>> On Thu, May 22, 2008 at 6:16 PM, Athar Shiraz Siddiqui
>> <[EMAIL PROTECTED]> wrote:
>>> Where is this james_users table?
>>
>> In the database, in case you are using a database backend for James,
>> like many users do.
>>
>>> Do you understand my question Sir?
>>
>> I think we do - yes, we do. Pretty frequently asked question this is.
>>
>>> When one logs into the console: telnet localhost:4555
>>> one can just type "add test test" (for adding of a test user with password
>>> test).
>>> I would like to do this programmatically; What is the easiest way of doing
>>> this programmatically?
>>
>> In case you are using a database backend, the easiest way is to write
>> a program against the database, as Sebastion pointed out.
>>
>>
>> Don't know what you find is the easiest, though.
>>
>>  Bernd
>>

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

Reply via email to