I have ejabberd 19.02 installed on an Ubuntu 18.04 server. I would like to find out if an admin can issue pub/sub related commands such as node creation, subscribing a jid to a node, sending a message to a node, etc., from either ejabberdctl or ejabberd Rest API.

I have searched everywhere and don't see any reference to it. In my ejabberd.yml file, I see the pubsub related options like below.

    access_createnode: pubsub_createnode
      - "flat"
      - "pep"
      ## Change from "whitelist" to "open" to enable OMEMO support
      ## See https://github.com/processone/ejabberd/issues/2425
        access_model: whitelist
      ## Avoid buggy clients to make their bookmarks public
        access_model: whitelist

Thank you.


mod_pubsub does not provide any command. You can try to use the send_stanza command to send the corresponding XMPP packets...

| improve this answer | |
  • Thank you so much. – Phyo May 29 '19 at 2:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.