[ejabberd] anyone here managed to do s2s to gmail.com domain using TLS ?

Konstantin Khomoutov flatworm at users.sourceforge.net
Wed Nov 3 07:31:05 MSK 2010

On Tue, Nov 02, 2010 at 03:50:33PM +0000, Chris Maciejewski wrote:

> I just tried to send non-TSL XML data, but getting 503 Error back from
> google: Please see below:
> ##
> T -> [AP]
> <message from='alice at xmpp.mydomain.com' to='bob at gmail.com' id='27992'
> type='chat'><body>test message</body></message>
> ##
> T -> [AP]
> <message from="bob at gmail.com" to="alice at xmpp.mydomain.com" id="27992"
> type="error"><body>test message</body><error code="503"
> type="cancel"><service-unavailable
> xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></message>
> Any suggestions?
What do these dumps mean? Did you try to telnet to a gmail s2s port and
sent the <message> stanza to it?
If so, this is obviously wrong, s2s does not work this way.
Here's an example of how STARTTLS proceeds on an imaginary s2s

More information about the ejabberd mailing list