postinst prints at the quick start guide: * 1) Add output of `hostname -s` to /etc/jabber/ejabberd.cfg line 89 but 'hostname -s' displays just the short hostname. According to the ejabberd config the domain should be specified there: %% hosts: Domains served by ejabberd. %% You can define one or several, for example: %% {hosts, ["example.net", "example.com", "example.org"]}. Therefore, postinst should print 'dnsdomainname' instead of 'hostname -s'. Reproducible: Always Steps to Reproduce: Actual Results: * Quick Start Guide: * 1) Add output of `hostname -s` to /etc/jabber/ejabberd.cfg line 89 * {hosts, ["localhost", "thehost"]}. Expected Results: * Quick Start Guide: * 1) Add output of `dnsdomainname` to /etc/jabber/ejabberd.cfg line 89 * {hosts, ["thedomain"]}. same with net-im/ejabberd-2.0.1_p2-r1
Created attachment 173614 [details, diff] ejabberd_typo_fix.patch
or hostname -f might be a better choice
I've changed this to hostname -f in 2.0.4