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 Leandro Rodrigo Saad Cruz <le...@ibnetwork.com.br> on 2004/03/18 15:41:16 UTC

Adding users. virtual domains programmatically

Can I write a James manager to add users and virtual domains
programmatically ?


-- 
Leandro Rodrigo Saad Cruz
InterBusiness Tecnologia e Serviços
IB    - www.ibnetwork.com.br
DB    - www.digitalbrand.com.br
OJB   - db.apache.org/ojb
XINGU - xingu.sf.net


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Adding users. virtual domains programmatically

Posted by Daniel Perry <d....@netcase.co.uk>.
I have started writing a web app to do exactly this :)

Users:
Im assuming you're using a mysql user/virtualuser store?
If so, Just add the entries to the database.

Domains:
This is more difficult, as it solely relies on a static list in config.xml

I am part way through writing code that will dynamically check domains based
on this list, and on the domain column of the virtual users table.


Daniel.

-----Original Message-----
From: Leandro Rodrigo Saad Cruz [mailto:leandro@ibnetwork.com.br]
Sent: 18 March 2004 14:41
To: James Users List
Subject: Adding users. virtual domains programmatically


Can I write a James manager to add users and virtual domains
programmatically ?


--
Leandro Rodrigo Saad Cruz
InterBusiness Tecnologia e Serviços
IB    - www.ibnetwork.com.br
DB    - www.digitalbrand.com.br
OJB   - db.apache.org/ojb
XINGU - xingu.sf.net


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org