ejabberd - Comments for "s2s whitelist not working" https://www.ejabberd.im/node/5419 en I didnt rtfm. I assumed the https://www.ejabberd.im/node/5419#comment-58611 <p>I didnt rtfm. I assumed the list syntax.</p> <p>It is working now. Thanks! :)</p> Tue, 08 May 2012 12:43:44 +0000 sx3 comment 58611 at https://www.ejabberd.im sx3 wrote: {{s2s_host, https://www.ejabberd.im/node/5419#comment-58609 <div class="quote-msg"> <div class="quote-author"><em>sx3</em> wrote:</div> <p><code>{{s2s_host, &quot;host01.com&quot;, &quot;host02.org&quot;, &quot;host03.net&quot;}, allow}.</code></p></div> <p>First of all, you use wrong syntax. Where have you seen that the list is allowed in s2s_host? See the <noindex><a href="http://www.process-one.net/en/ejabberd/guide_en" rel="nofollow" >Guide</a></noindex> for the description of s2s_host parameter.<br /> To allow only a list of hosts, you need to do it this way:</p> <div class="codeblock"><code>{s2s_default_policy, deny}.<br />{{s2s_host, &quot;host01.com&quot;}, allow}.<br />{{s2s_host, &quot;host02.org&quot;}, allow}.<br />{{s2s_host, &quot;host03.net&quot;}, allow}.</code></div> Mon, 07 May 2012 11:38:56 +0000 mikekaganski comment 58609 at https://www.ejabberd.im I figured it out. It appears https://www.ejabberd.im/node/5419#comment-58608 <p>I figured it out.</p> <p>It appears that s2s_host does not take a list as input.</p> <p>Changed the config to:</p> <div class="codeblock"><code>{{s2s_host, &quot;host01.com&quot;}, allow}.<br />{{s2s_host, &quot;host02.org&quot;}, allow}.<br />{{s2s_host, &quot;host02.net&quot;}, allow}.</code></div> <p>Now it works as expected! :)</p> Mon, 07 May 2012 09:59:13 +0000 sx3 comment 58608 at https://www.ejabberd.im