Yahoo Transport allows jabber users to log into Yahoo 
Messenger, and send/recv messages.


---------------------
To compile Yahoo-Transport
---------------------
$> cd yahoo-transport
$> ./configure
$> make

---------------------
Using Yahoo-Transport
---------------------

You may run yahoo-transport in one of two ways.. First, you can link it directly into your main jabberd by putting an entry into your
jabber.xml (or other) config file like this:

        <service id="yahoo.myserver.com">
            <load><yahoo_transport>/path/to/yahootrans.so</yahoo_transport></load>
        </service>

note that the compiled yahootrans.so will be in the src/ directory under where you compiled yahoo-transport.

You will also need to have an <xdb/> section in your config file somewhere:

        <xdb id="xdb">
            <host/>
            <load><xdb_file>./xdb_file/xdb_file.so</xdb_file></load>
            <xdb_file xmlns="jabber:config:xdb_file">
            <spool><jabberd:cmdline flag='s'>./spool</jabberd:cmdline></spool>
            </xdb_file>
        </xdb>

This is because yahoo-transport uses XDB to store it's user specific data, such as login passwords, or rosters


    You will also need to add to the <browse/> section (listed above) to the jsm config section, under <browse/>.

      <browse>

        <!-- other services go here -->

        <service type="yahoo" jid="yahoo.myserver.com" name="Yahoo! Transport">
          <ns>jabber:iq:gateway</ns>
          <ns>jabber:iq:register</ns>
        </service>

      </browse>

Another way to run yahoo-transport is from a second jabberd.  This is favorable when you are using a version that may be prone to crashes...
put in a "linker" section in your main jabberd, such as:

    <service id="jabberd_linker">
        <accept>
            <ip>12.34.56.78</ip>
            <port>9876</port>
            <secret>j4bb3rd_l1nk3r</secret>
        </accept>
        <host>yahoo.myserver.com</host>
    </service>

and then in your yahoo jabberd config, put in a matching linker service:

    <service id="jabberd_linker">
        <connect>
            <ip>12.34.56.78</ip>
            <port>9876</port>
            <secret>j4bb3rd_l1nk3r</secret>
        </connect>
        <uplink/>
    </service>

along with the service tag for yahoo-transport...

few things to note here... the id, ip, port, and secret MUST match EXACTLY in each linker section...

the <uplink/> flag causes every undeliverable packet to be sent to the other jabberd (the main jabberd)

so make sure that any <host/> section that you put into the main jabberd's linker section is defined in the yahoo jabberd config file
(the id attribute IS a defined hostname)  if you do not have it defined in that section, packets to that
host will bounce between jabberds infinitly, and slow down or crash your server.

Good Luck!
