[ejabberd] Any hints on using "jann.pl" script

Leon Adato leon at adatofamily.com
Wed Jan 12 03:01:53 MSK 2005

Unfortunately, *I* wasn't clear.

The Jann.pl script uses the credentials of an admin user. So I have a
good admin user set up in eJabberd. I can log in with the admin account
and send messages to /announce/online.

Jann.pl has the user name and password of the admin user. So when I use
the script to send a message, it first logs into the ejabberd server as
the admin user. That is where I get a failure.

Does this make more sense? I can give you specific error messages and
such if you need it.


On Wed, 2005-01-12 at 01:50 +0200, Alexey Shchepin wrote:
> Hello, Leon!
> On Tue, 11 Jan 2005 12:17:26 -0500, you said:
>  LA> I have an ejabberd server up and running. As an "admin" account I can send
>  LA> messages to /announce/online. But when I try to do the same thing via the
>  LA> "jann.pl" script  the message fails.  Ultimately, I just want to send
>  LA> information from outside the eJabber server (like from my monitoring
>  LA> system) that gets broadcast to a collection of users. If there is another
>  LA> way to do this, I'm all ears.  Any hints, guidance, documentation, etc
>  LA> would be deeply appreciated.
> If I understood correctly, jann.pl tries to send message to /announce/online
> not from admin account, that is why it fails.  To allow it you need to add
> access to user jann.pl runs from, e.g. if this user is "jann at example.org", then
> add something like the following in config:
> {acl, announcer, {user, "jann", "example.org"}}.
> {access, announce, [{allow, announcer}, {allow, admin}]}.
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

More information about the ejabberd mailing list