[ejabberd] Account setup

Theo Cushion theo at jivatechnology.com
Thu Nov 12 20:38:51 MSK 2009


I want to avoid diving into the erlang for this. I've been  
experimenting with a component setup, that way I can fake the from  
address.

However, I've had trouble receiving the replies - which seem to go to  
the user I'm impersonating. How do people get around this?

On 12 Nov 2009, at 17:27, Pablo Polvorin wrote:

> Hi, you can do it from inside ejabberd,  you need to write a module
> and register to the
> 'register_user'  hook.
> Ejabberd will call your registered callback with two parameters: the
> new username registered, and the domain.
> You can perform initial account setup there.
>
> Or, if you prefer,  send that "event" to an external bot to make the
> configuration from outside. But as you say, for managing PEP nodes
> from outside you probably need to be logged in as the desired user.
>
>
>
> 2009/11/11 Theo Cushion <theo at jivatechnology.com>:
>> Hi
>>
>> I'm implementing a service based on Jabber and need to perform some  
>> basic
>> setup for new user accounts (configuring various PEP nodes). What  
>> is the
>> recommended way to deal with this? I could alter their password,  
>> login with
>> a bot and make the adjustments, then reset the password. However,  
>> this seems
>> clunky. How are other people dealing with this issue?
>>
>> Thanks
>>
>> Theo
>> _______________________________________________
>> ejabberd mailing list
>> ejabberd at jabber.ru
>> http://lists.jabber.ru/mailman/listinfo/ejabberd
>>
>
>
>
> -- 
> Pablo Polvorin
> ProcessOne
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd



More information about the ejabberd mailing list