mod announce

Howdy,
I have setup Ejabberd-2.1.11 working fine with numerous activated modules.
Lastly, I enabled mod_announce & mod_adhoc in the ejabberd.cfg file &
restarted the server without any errors or complains.

However on trying to send an announcement from an adium client to all
server users i.e. from="admin@example.org" to="example.org/announce/all"
they are not being delivered despite seeing some logs being printed on the server.
I have been banging my head on this for a couple of days, I would appreciate any
tips that would point me in the right direction.

relevant excerpts from ejabberd.cfg are
{mod_adhoc, []},
{mod_announce, [{allow, admin}]},
%% {mod_announce, [{access, announce}]},

regards,
Anna

Either the config is wrong,

Either the config is wrong, or the message you send is wrong.

If the config is wrong, the sender would receive an error like this:

<message xml:lang='es'
	type='normal'
	to='localhost/announce/online'>
  <thread>75eaf51fd1ad752ff519d4ad1f3770483bfbf76e
  <subject>This is the subject
  <body>This is the content.
</message>
<message from='localhost/announce/online'
	to='user1@localhost/tka1'
	type='error'
	xml:lang='es'>
  <thread>75eaf51fd1ad752ff519d4ad1f3770483bfbf76e
  <subject>This is the subject
  <body>This is the content.
  <error code='403'
	type='auth'>
    <forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
  </error>
</message>

Got same thing today. Try to

Got same thing today.

Try to fix ejabberd.cfg like this:
{mod_announce, [{allow, admin}, {access, announce}]},

Syndicate content