<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>ejabberd conversion script</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/239 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="239"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document"&gt;


&lt;p&gt;Bug report: &lt;a class="reference external" href="https://github.com/processone/ejabberd/issues/803"&gt;https://github.com/processone/ejabberd/issues/803&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/239/rev-raw/0a1d4f9f4592f70015b6d2a2ee27cd9ffd1a18e4/0-README.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/239#0-README.rst"&gt;0-README.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;div class="code"&gt;&lt;pre class="txt"&gt;$ ejabberdctl convert_to_yaml /etc/ejabberd/ejabberd.cfg /tmp/ejabberd.yml&#13;
Problem 'error function_clause' occurred executing the command.&#13;
Stacktrace: [{p1_yaml,encode_pair,&#13;
                      [inet6,4],&#13;
                      [{file,&amp;quot;src/p1_yaml.erl&amp;quot;},{line,135}]},&#13;
             {p1_yaml,'-encode/2-lc$^0/1-1-',2,&#13;
                      [{file,&amp;quot;src/p1_yaml.erl&amp;quot;},{line,116}]},&#13;
             {p1_yaml,'-encode/2-lc$^0/1-1-',2,&#13;
                      [{file,&amp;quot;src/p1_yaml.erl&amp;quot;},{line,116}]},&#13;
             {p1_yaml,'-encode/2-lc$^1/1-0-',2,&#13;
                      [{file,&amp;quot;src/p1_yaml.erl&amp;quot;},{line,118}]},&#13;
             {p1_yaml,encode_pair,2,[{file,&amp;quot;src/p1_yaml.erl&amp;quot;},{line,136}]},&#13;
             {p1_yaml,'-encode/2-lc$^0/1-1-',2,&#13;
                      [{file,&amp;quot;src/p1_yaml.erl&amp;quot;},{line,116}]},&#13;
             {p1_yaml,'-encode/2-lc$^0/1-1-',2,&#13;
                      [{file,&amp;quot;src/p1_yaml.erl&amp;quot;},{line,116}]},&#13;
             {p1_yaml,encode,1,[{file,&amp;quot;src/p1_yaml.erl&amp;quot;},{line,108}]}]&#13;
&lt;/pre&gt;&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/239/rev-raw/0a1d4f9f4592f70015b6d2a2ee27cd9ffd1a18e4/1-phork0.txt" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/239#1-phork0.txt"&gt;1-phork0.txt&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;div class="code"&gt;&lt;pre class="txt"&gt;{acl, admin, {user, &amp;quot;stefan&amp;quot;, &amp;quot;endrullis.de&amp;quot;}}.&#13;
{acl, admin, {user, &amp;quot;joerg&amp;quot;, &amp;quot;endrullis.de&amp;quot;}}.&#13;
{acl, admin, {user, &amp;quot;cweiske&amp;quot;, &amp;quot;cweiske.de&amp;quot;}}.&#13;
{hosts, [&amp;quot;endrullis.de&amp;quot;, &amp;quot;cweiske.de&amp;quot;]}.&#13;
{loglevel, 4}.&#13;
{listen,&#13;
 [&#13;
  {5222, ejabberd_c2s, [&#13;
			inet6,&#13;
			{access, c2s},&#13;
			{shaper, c2s_shaper},&#13;
			{max_stanza_size, 65536},&#13;
			starttls, {certfile, &amp;quot;/etc/ssl/private/cweiske.de_all.pem&amp;quot;}&#13;
		       ]},&#13;
  {5269, ejabberd_s2s_in, [&#13;
			   inet6,&#13;
			   {shaper, s2s_shaper},&#13;
			   {max_stanza_size, 131072}&#13;
			  ]},&#13;
  {5554, ejabberd_service, [&#13;
  			    {ip, {127, 0, 0, 1}},&#13;
  			    {access, all},&#13;
  			    {shaper_rule, fast},&#13;
  			    {host, &amp;quot;muc.localhost&amp;quot;, [{password, &amp;quot;&amp;quot;}]}&#13;
  			    ]},&#13;
  {5555, ejabberd_service, [&#13;
  			    {ip, {127, 0, 0, 1}},&#13;
  			    {access, all},&#13;
  			    {shaper_rule, fast},&#13;
  			    {hosts, [&amp;quot;icq.endrullis.de&amp;quot;],&#13;
  				       [{password, &amp;quot;&amp;quot;}]}&#13;
  			    ]},&#13;
  {5280, ejabberd_http, [&#13;
			 http_bind,&#13;
			 http_poll,&#13;
			 web_admin&#13;
			]}&#13;
 ]}.&#13;
{max_fsm_queue, 1000}.&#13;
{s2s_use_starttls, true}.&#13;
{s2s_certfile, &amp;quot;/etc/ssl/private/cweiske.de_all.pem&amp;quot;}.&#13;
{auth_method, internal}.&#13;
{shaper, normal, {maxrate, 1000}}.&#13;
{shaper, fast, {maxrate, 50000}}.&#13;
{acl, local, {user_regexp, &amp;quot;&amp;quot;}}.&#13;
{access, max_user_sessions, [{10, all}]}.&#13;
{access, max_user_offline_messages, [{5000, admin}, {100, all}]}. &#13;
{access, local, [{allow, local}]}.&#13;
{access, c2s, [{deny, blocked},&#13;
	       {allow, all}]}.&#13;
{access, c2s_shaper, [{none, admin},&#13;
		      {normal, all}]}.&#13;
{access, s2s_shaper, [{fast, all}]}.&#13;
{access, announce, [{allow, admin}]}.&#13;
{access, configure, [{allow, admin}]}.&#13;
{access, muc_admin, [{allow, admin}]}.&#13;
{access, muc, [{allow, all}]}.&#13;
{access, register, [{allow, all}]}.&#13;
{access, pubsub_createnode, [{allow, all}]}.&#13;
{language, &amp;quot;en&amp;quot;}.&#13;
{modules,&#13;
 [&#13;
  {mod_adhoc,    []},&#13;
  {mod_announce, [{access, announce}]}, % requires mod_adhoc&#13;
  {mod_caps,     []},&#13;
  {mod_configure,[]}, % requires mod_adhoc&#13;
  {mod_admin_extra, []},&#13;
  {mod_disco,    [{extra_domains, [&amp;quot;conference.endrullis.de&amp;quot;]}]},&#13;
  {mod_http_bind, []},&#13;
  {mod_irc,      []},&#13;
  {mod_last,     []},&#13;
  {mod_muc,      [&#13;
		  {access, muc},&#13;
		  {access_create, muc},&#13;
		  {access_persistent, muc},&#13;
		  {access_admin, muc_admin},&#13;
		  {max_users, 500}&#13;
		 ]},&#13;
  {mod_offline,  [{access_max_user_messages, max_user_offline_messages}]},&#13;
  {mod_privacy,  []},&#13;
  {mod_private,  []},&#13;
  {mod_proxy65,  [&#13;
		  {access, local},&#13;
		  {shaper, c2s_shaper}&#13;
		 ]},&#13;
  {mod_pubsub,   [ % requires mod_caps&#13;
		  {access_createnode, pubsub_createnode},&#13;
		  {pep_sendlast_offline, false},&#13;
		  {last_item_cache, false},&#13;
		  {plugins, [&amp;quot;flat&amp;quot;, &amp;quot;hometree&amp;quot;, &amp;quot;pep&amp;quot;]}  % pep requires mod_caps&#13;
		 ]},&#13;
  {mod_register, [&#13;
		  {welcome_message, {&amp;quot;Welcome!&amp;quot;,&#13;
				     &amp;quot;Welcome to a Jabber service powered by Debian. &amp;quot;&#13;
				     &amp;quot;For information about Jabber visit &amp;quot;&#13;
				     &amp;quot;http://www.jabber.org&amp;quot;}},&#13;
		  {access, register}&#13;
		 ]},&#13;
  {mod_roster,   []},&#13;
  {mod_stats,    []},&#13;
  {mod_time,     []},&#13;
  {mod_vcard,    []},&#13;
  {mod_version,  []}&#13;
 ]}.&#13;
&lt;/pre&gt;&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/239/rev-raw/0a1d4f9f4592f70015b6d2a2ee27cd9ffd1a18e4/2-ejabberd.cfg.txt" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/239#2-ejabberd.cfg.txt"&gt;2-ejabberd.cfg.txt&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
