6dd93bac13
- Add plist support NOTES: Please read the UPDATING PR: 109566 Submitted by: Martin Matuska <martin@matuska.org> (maintainer) |
||
---|---|---|
.. | ||
patch-Makefile | ||
pkg-message.in | ||
README.jabberd14.in |
The sample configuration file for jabberd14 may be located in: %%TARGETDIR%%/etc/jabber.xml.sample Please make all necessary changes to your configuration file which may be: %%TARGETDIR%%/etc/jabber.xml NOTE: if you want this service to be accessible from other servers, change any 'yahoo.localhost' listed below to a fully qualified domain name! Please make sure that your directives are _NOT_ in an XML comment: there are many multi-line comments. To activate the YAHOO transport for your Jabber server, add the following to your configuration file and adjust to your settings (around line 921 in the sample configuration file): ------------------------------------------------------------------------------- <service id="yahoo.localhost"> <load><yahoo_transport>%%TARGETDIR%%/jabber/yahoo-transport.so</yahoo_transport></load> <config xmlns="jabber:config:yahoo"> <!-- This is the name that will appear when the transport is browsed or discovered. REQUIRED --> <vCard> <NAME>Yahoo! IM Gateway</NAME> </vCard> <!-- This is the text that is presented to the user when they register with transport REQUIRED --> <instructions>Enter your YAHOO! Messenger Username and Password to registe r with the gateway.</instructions> <!-- The Yahoo IM server REQUIRED ... should not have to be changed --> <server>scs.yahoo.com</server> <!-- The Yahoo IM server's port REQUIRED ... should not have to be changed --> <port>5050</port> <!-- The character map. This provides character set translation from UTF-8 to the indicated character map. See the man page for 'iconv' for available character maps on your platform. CP1252 is the standard Windows character set --> <charmap>CP1252</charmap> <!-- When this element exists, the transport will send new mail notifications as well as a count of unread messages when the user initially logs in --> <newmail/> </config> </service> ------------------------------------------------------------------------------- Add this section to the browse area of the jsm to advertise it to your users (around line 382 of the sample config): ------------------------------------------------------------------------------- <item category="gateway" type="yahoo" jid="yahoo.localhost" name="Yahoo! Transport"> <ns>jabber:iq:gateway</ns> <ns>jabber:iq:register</ns> <ns>jabber:iq:version</ns> <ns>jabber:iq:time</ns> </item> ------------------------------------------------------------------------------- Be sure to restart your server after reconfiguring.