Re: How to setup ejabberd to direct a newly-registered user to a conference room or a personal administrator?

Badlop <[email protected]> Mon, 25 May 2009 13:50:24 +0200
Newsgroups gmane.network.jabber.admin
Message-ID <[email protected]>
2009/5/25 fulan Peng <[email protected]>:
> Now when a new user registered, ejabberd pop out a welcome window
> which is owned by a special user called "system". And the new user can
> chat with "him". I do not know how to replace this user(system) and
> obviously there is no such a person called "system".

In fact the attribute FROM is set to the vhost, so when
[email protected] registers, he receives a message from example.org


> I would have an real administrator  registered as "system" and can
> really chat with the new user. The "system" word should be
> configurable.

I've reported the proposal in:
  Option to configure the sender of welcome_message
  https://support.process-one.net/browse/EJAB-941

There there's a patch for 2.0.5 that implements the option.


> Or I would re-direct the newly registered user to a default conference room.

Looking at
  http://xmpp.org/extensions/xep-0045.html#registrar-querytypes-join
  http://xmpp.org/extensions/xep-0147.html
I thought it was possible to include an URI in the welcome message.

But in my tests with Psi, Gajim and Tkabber those URIs are useless:
the clients don't perform the expected action when clicking the URI in
the message that the new user receives.

I tried this welcome_message:
----
Hi.
Welcome to this Jabber server.

You can join the welcome room here:
xmpp:[email protected]?join

Bye.
----

---
Badlop
ProcessOne
_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: [email protected]
_______________________________________________