Welcome to mirror list, hosted at ThFree Co, Russian Federation.

yahoo-transport-2.xml « configs « transport-configs « examples - github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2d077aa7ad490309176100ab04ae7593a0d7898b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!-- yahoo-transport-2.xml -->

<jabber>

  <!--
  You need to add the elogger entry here when using ejabberd.
  In this case the transport will do the logging.
  -->

  <log id='elogger'>
    <host/>
    <logtype/>
    <format>%d: [%t] (%h): %s</format>
    <file>/var/log/jabber/yahoo-transport-2-error.log</file>
    <stderr/>
  </log>

  <!--
     ejabberd do not provide XDB services.
     xdb_file.so is loaded in to handle all XDB requests.
  -->

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

  <!--
     Make sure that all host names here are resolveable via DNS if you
     want the transport to be available to the public.
  -->

  <service id="yahoo.SERVER.COM">
    <!-- yahoo-transport-2 configuration. -->
    <config xmlns="jabber:config:yahoo">
      <vCard>
        <NAME>Yahoo! Transport</NAME>
        <FN>vCard not implemented in current version</FN>
        <DESC>This is the Yahoo! transport.</DESC>
        <MAIL>EMAIL@ADDRESS.COM</MAIL>
        <URL>http://yahoo-transport-2.jabberstudio.org/</URL>
      </vCard>
      <instructions>Fill in your YAHOO! Messenger username and password to register on this transport.</instructions>
      <server>scs.msg.yahoo.com</server>
      <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>
    <!-- yahoo-transport-2 module. -->
    <load>
      <yahoo_transport>/usr/local/lib/jabber/yahoo-transport-2.so</yahoo_transport>
    </load>
  </service>

  <!--
     The settings below have to match the settings you made
     in your ejabberd.cfg configuration file.
  -->

  <service id="yahoo-linker">
    <uplink/>
    <connect>
      <ip>127.0.0.1</ip>
      <port>5236</port>
      <secret>SECRET</secret>
    </connect>
  </service>

  <pidfile>/var/run/jabber/yahoo-transport-2.pid</pidfile>

</jabber>