After installation the users can send message to each other and can send message to external xmpp users but they can receive from external.
E.g.: when I login on an external user use
=INFO REPORT==== 2016-09-07 13:08:05 ===
I(<0.367.0>:ejabberd_listener:281) : (#Port<0.3371>) Accepted connection {{128,130,95,40},55470} -> {{91,250,86,125},5269}
=INFO REPORT==== 2016-09-07 13:08:05 ===
D(<0.1644.0>:ejabberd_s2s_in:154) : started: {ejabberd_socket,
{socket_state,gen_tcp,
#Port<0.3371>,<0.1643.0>}}
=INFO REPORT==== 2016-09-07 13:08:05 ===
D(<0.1643.0>:ejabberd_receiver:320) : Received XML on stream = "<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:server' xmlns:db='jabber:server:dialback' from='jabber.at' to='myserver.com' version='1.0'>"
=INFO REPORT==== 2016-09-07 13:08:05 ===
D(<0.1643.0>:ejabberd_receiver:320) : Received XML on stream = "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>"
=INFO REPORT==== 2016-09-07 13:08:05 ===
D(<0.1644.0>:ejabberd_s2s_in:296) : starttls
=INFO REPORT==== 2016-09-07 13:08:05 ===
D(<0.1643.0>:ejabberd_receiver:320) : Received XML on stream = []
=INFO REPORT==== 2016-09-07 13:08:05 ===
D(<0.1644.0>:ejabberd_s2s_in:655) : terminated: normal
=INFO REPORT==== 2016-09-07 13:08:06 ===
I(<0.367.0>:ejabberd_listener:281) : (#Port<0.3375>) Accepted connection {{128,130,95,40},42607} -> {{91,250,86,125},5269}
=INFO REPORT==== 2016-09-07 13:08:06 ===
D(<0.1646.0>:ejabberd_s2s_in:154) : started: {ejabberd_socket,
{socket_state,gen_tcp,
#Port<0.3375>,<0.1645.0>}}
=INFO REPORT==== 2016-09-07 13:08:06 ===
D(<0.1645.0>:ejabberd_receiver:320) : Received XML on stream = "<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:server' xmlns:db='jabber:server:dialback' from='jabber.at' to='myserver.com' version='1.0'>"
=INFO REPORT==== 2016-09-07 13:08:06 ===
D(<0.1645.0>:ejabberd_receiver:320) : Received XML on stream = "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>"
=INFO REPORT==== 2016-09-07 13:08:06 ===
D(<0.1646.0>:ejabberd_s2s_in:296) : starttls
=INFO REPORT==== 2016-09-07 13:08:06 ===
D(<0.1645.0>:ejabberd_receiver:320) : Received XML on stream = []
=INFO REPORT==== 2016-09-07 13:08:06 ===
D(<0.1646.0>:ejabberd_s2s_in:655) : terminated: normal
got an old version on ubuntu
got an old version on ubuntu installed it know manually but cant send or receive messages from another server the log say the following:
2016-09-09 00:01:22.092 [debug] <0.485.0>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<message from=\"alex@myserver.com/phone\" id=\"6820c5f3-44ac-4bd8-b693-54567c242ae9\" type=\"chat\" to=\"l91@jabber.at\"><body>...</body><markable xmlns=\"urn:xmpp:chat-markers:0\"/></message>">>
2016-09-09 00:01:22.092 [debug] <0.486.0>@ejabberd_router:do_route:351 route
from {jid,<<"alex">>,<<"myserver.com">>,<<"phone">>,<<"alex">>,<<"myserver.com">>,<<"phone">>}
to {jid,<<"l91">>,<<"jabber.at">>,<<>>,<<"l91">>,<<"jabber.at">>,<<>>}
packet {xmlel,<<"message">>,[{<<"xml:lang">>,<<"en">>},{<<"from">>,<<"alex@myserver.com/phone">>},{<<"id">>,<<"6820c5f3-44ac-4bd8-b693-54567c242ae9">>},{<<"type">>,<<"chat">>},{<<"to">>,<<"l91@jabber.at">>}],[{xmlel,<<"body">>,[],[{xmlcdata,<<"...">>}]},{xmlel,<<"markable">>,[{<<"xmlns">>,<<"urn:xmpp:chat-markers:0">>}],[]}]}
2016-09-09 00:01:22.093 [debug] <0.486.0>@ejabberd_s2s:do_route:293 s2s manager
from {jid,<<"alex">>,<<"myserver.com">>,<<"phone">>,<<"alex">>,<<"myserver.com">>,<<"phone">>}
to {jid,<<"l91">>,<<"jabber.at">>,<<>>,<<"l91">>,<<"jabber.at">>,<<>>}
packet {xmlel,<<"message">>,[{<<"xml:lang">>,<<"en">>},{<<"from">>,<<...>>},{<<...>>,...},{...}|...],[{xmlel,<<...>>,...},{xmlel,...}]}
2016-09-09 00:01:22.093 [debug] <0.486.0>@ejabberd_s2s:find_connection:334 Finding connection for {<<"myserver.com">>,<<"jabber.at">>}
2016-09-09 00:01:22.093 [debug] <0.496.0>@ejabberd_s2s_out:init:139 started: {<<"myserver.com">>,<<"jabber.at">>,new}
2016-09-09 00:01:22.093 [info] <0.486.0>@ejabberd_s2s:new_connection:408 New s2s connection started <0.496.0>
2016-09-09 00:01:22.093 [debug] <0.486.0>@ejabberd_s2s:choose_pid:382 Using ejabberd_s2s_out <0.496.0>
2016-09-09 00:01:22.094 [debug] <0.486.0>@ejabberd_s2s:do_route:298 sending to process <0.496.0>
2016-09-09 00:01:22.094 [info] <0.496.0>@ejabberd_s2s_out:log_s2s_out:1253 Trying to open s2s connection: myserver.com -> jabber.at with TLS=false
2016-09-09 00:01:22.094 [debug] <0.496.0>@ejabberd_s2s_out:open_socket:214 open_socket: {<<"myserver.com">>,<<"jabber.at">>,true,false}
2016-09-09 00:01:22.094 [debug] <0.496.0>@ejabberd_s2s_out:get_addr_port:1099 srv lookup of 'jabber.at': [{300,0,5269,"xmpp.jabber.at"}]
2016-09-09 00:01:22.094 [debug] <0.496.0>@ejabberd_s2s_out:get_addr_port:1119 srv lookup of 'jabber.at': [{<<"xmpp.jabber.at">>,5269}]
2016-09-09 00:01:22.102 [debug] <0.496.0>@ejabberd_s2s_out:get_addrs:1184 inet of xmpp.jabber.at resolved to: [{128,130,95,40}]
2016-09-09 00:01:22.102 [debug] <0.496.0>@ejabberd_s2s_out:open_socket2:293 s2s_out: connecting to {128,130,95,40}:5269
2016-09-09 00:01:22.166 [debug] <0.497.0>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<stream:error><invalid-namespace xmlns='urn:ietf:params:xml:ns:xmpp-streams'></invalid-namespace></stream:error>">>
2016-09-09 00:01:22.166 [debug] <0.496.0>@ejabberd_socket:send:184 Error in gen_tcp:send: {error,closed}
2016-09-09 00:01:22.166 [debug] <0.496.0>@ejabberd_s2s_out:terminate:961 terminated: {normal,wait_for_stream}
2016-09-09 00:01:22.167 [debug] <0.496.0>@ejabberd_router:do_route:351 route
from {jid,<<"l91">>,<<"jabber.at">>,<<>>,<<"l91">>,<<"jabber.at">>,<<>>}
to {jid,<<"alex">>,<<"myserver.com">>,<<"phone">>,<<"alex">>,<<"myserver.com">>,<<"phone">>}
packet {xmlel,<<"message">>,[{<<"type">>,<<"error">>},{<<"to">>,<<"alex@myserver.com/phone">>},{<<"from">>,<<"l91@jabber.at">>},{<<"xml:lang">>,<<"en">>},{<<"id">>,<<"6820c5f3-44ac-4bd8-b693-54567c242ae9">>}],[{xmlel,<<"body">>,[],[{xmlcdata,<<"...">>}]},{xmlel,<<"markable">>,[{<<"xmlns">>,<<"urn:xmpp:chat-markers:0">>}],[]},{xmlel,<<"error">>,[{<<"code">>,<<"404">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"remote-server-not-found">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}
2016-09-09 00:01:22.167 [debug] <0.496.0>@ejabberd_local:do_route:265 local route
from {jid,<<"l91">>,<<"jabber.at">>,<<>>,<<"l91">>,<<"jabber.at">>,<<>>}
to {jid,<<"alex">>,<<"myserver.com">>,<<"phone">>,<<"alex">>,<<"myserver.com">>,<<"phone">>}
packet {xmlel,<<"message">>,[{<<"type">>,<<"erro"...>>},{<<"to">>,<<...>>},{<<...>>,...},{...}|...],[{xmlel,<<...>>,...},{xmlel,...},{...}]}
2016-09-09 00:01:22.167 [debug] <0.496.0>@ejabberd_sm:do_route:459 session manager
from {jid,<<"l91">>,<<"jabber.at">>,<<>>,<<"l91">>,<<"jabber.at">>,<<>>}
to {jid,<<"alex">>,<<"myserver.com">>,<<"phone">>,<<"alex">>,<<"myserver.com">>,<<"phone">>}
packet {xmlel,<<"message">>,[{<<"type">>,<<"erro"...>>},{<<"to">>,<<...>>},{<<...>>,...},{...}|...],[{xmlel,<<...>>,...},{xmlel,...},{...}]}
2016-09-09 00:01:22.168 [debug] <0.496.0>@ejabberd_sm:do_route:584 sending to process <0.486.0>
2016-09-09 00:01:22.168 [debug] <0.486.0>@ejabberd_c2s:send_text:1843 Send XML on stream = <<"<message from='l91@jabber.at' to='alex@myserver.com/phone' type='error' xml:lang='en' id='6820c5f3-44ac-4bd8-b693-54567c242ae9'><body>...</body><markable xmlns='urn:xmpp:chat-markers:0'/><error code='404' type='cancel'><remote-server-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></message>">>
2016-09-09 00:01:22.168 [debug] <0.486.0>@ejabberd_c2s:send_text:1843 Send XML on stream = <<"<r xmlns='urn:xmpp:sm:3'/>">>
2016-09-09 00:01:23.552 [debug] <0.485.0>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<r xmlns=\"urn:xmpp:sm:3\"/>">>
2016-09-09 00:01:23.552 [debug] <0.486.0>@ejabberd_c2s:send_text:1843 Send XML on stream = <<"<a xmlns='urn:xmpp:sm:3' h='15'/>">>
2016-09-09 00:01:23.751 [debug] <0.485.0>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<a h=\"17\" xmlns=\"urn:xmpp:sm:3\"/>">>
2016-09-09 00:01:23.751 [debug] <0.486.0>@ejabberd_c2s:check_h_attribute:2806 alex@myserver.com/phone acknowledged 17 of 17 stanzas