I would like to use xmpp as a notification method for an intranet I am building.
This is not wholly related to Openfire, its more about the XMPP protocol’s server federation.
Is there a simple way I can send messages from my intranet site to users on my openfire server via server to server federation? XMPPHP partly can allow me to do this, but it acts as a client and logs into a jabber server as a user to send messages. I would simply like have the intranet site send messages to openfire as if it were another jabber server.
For example, if I want to notify a user when new content is added to the intranet:
- jabber.mydomain.com (openfire) has been set up to accept server to server communication from intranet.mydomain.com.
- intranet.mydomain.com is set to send a message to firstname.lastname@example.org when new files are uploaded.
- When a file is added, intranet.mydomain.com sends a message from email@example.com to firstname.lastname@example.org via XMPP server to server communication.
- jabber.mydomain.com (openfire) accepts the message for the user and send it to the user email@example.com.
I do not care about two way communication, hence the ficticious “firstname.lastname@example.org” ID. I just want to send messages to my jabber users.