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

zhong ming wu mr.z.m.wu at gmail.com
Tue Nov 2 18:40:35 MSK 2010


As u can also see s2s uses different hosts from what u use which is for c2s
as can be verified by a similar dig command

On Nov 2, 2010 11:20 AM, "zhong ming wu" <mr.z.m.wu at gmail.com> wrote:

On Tue, Nov 2, 2010 at 11:04 AM, Chris Maciejewski <chris at wima.co.uk> wrote:
> Yes, I managed to do ...

Why do you even bother to do that since that is the job of gmail.com admins;
they already have the public SRV record and ejabberd I think already figures
this out by itself without your help

--------------------------
$ dig _xmpp-server._tcp.gmail.com srv +short
20 0 5269 xmpp-server3.l.google.com.
20 0 5269 xmpp-server4.l.google.com.
20 0 5269 xmpp-server2.l.google.com.
20 0 5269 xmpp-server1.l.google.com.
5 0 5269 xmpp-server.l.google.com.
--------------------------



>
> Used dnsmasqd to do it, by adding this line to /etc/dnsmasql.conf:
>
> srv-host=_xmpp-server._...

Standard s2s port is 5269 and that's what gmail.com is using as shown by dig
above. What possess you to pick 5222 on behalf of gmail.com adimn?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20101102/cd2e8494/attachment.html>


More information about the ejabberd mailing list