ejabberd - Comments for "Another servers restriction" https://www.ejabberd.im/node/3272 en Not possible in ejabberd 2.0.x. Maybe with mod_filter https://www.ejabberd.im/node/3272#comment-53729 <div class="quote-msg"> <div class="quote-author"><em>Zebar</em> wrote:</div> <p>I have to restrict connections with another server.<br /> I want, for example<br /> people from my server CAN chat with <noindex><a href="mailto:username@gmail.com" rel="nofollow" >username@gmail.com</a></noindex> and CAN't chat with <noindex><a href="mailto:username@jabber.ru" rel="nofollow" >username@jabber.ru</a></noindex><br /> How I can do it?</p></div> <p>In ejabberd 2.0.x and newer the only you can do is restrict at server-level:</p> <pre> {s2s_default_policy, allow}. {{s2s_host, gmail.com}, allow}. {{s2s_host, jabber.ru}, deny}. </pre><p>Check the ejabberd Guide for description of those options.</p> <p>To enforce restrictions at user-level, maybe <noindex><a href="/mod_filter" rel="nofollow" >mod_filter</a></noindex> allows you to do that.</p> Mon, 10 Nov 2008 09:36:48 +0000 mfoss comment 53729 at https://www.ejabberd.im