ejabberd - Comments for "Block messages by default?" https://www.ejabberd.im/node/24945 en Thanks again badlop :) I'm https://www.ejabberd.im/node/24945#comment-65756 <p>Thanks again badlop :)</p> <p>I'm trying with Tkabber but I receive and error: "Server hasn't provided SASL authentication feature"</p> <p>Based on <a href="https://www.ejabberd.im/node/4117" title="https://www.ejabberd.im/node/4117">https://www.ejabberd.im/node/4117</a><br /> My ejabberd.cfg has the </p> <div class="codeblock"><code>{auth_method, internal}</code></div> <p>That will be enough to support SASL PLAIN and SASL DIGEST-MD5.</p> <p>Thanks!</p> Thu, 11 Jun 2015 13:59:53 +0000 jmmorlesin comment 65756 at https://www.ejabberd.im That query works for me using https://www.ejabberd.im/node/24945#comment-65753 <p>That query works for me using Tkabber. Looking at the source code, that error is not reported by mod_privacy itself, it may be by the c2s listener, or by the session manager.</p> <p>Anyway, use a common Jabber client to manage privacy lists, and look how it does it (by looking in the client XML Console the queries it sends).</p> Thu, 11 Jun 2015 10:54:40 +0000 badlop comment 65753 at https://www.ejabberd.im Hi, When I send <iq https://www.ejabberd.im/node/24945#comment-65751 <p>Hi,</p> <p>When I send </p> <div class="codeblock"><code>&lt;iq from=&#039;user@domain.com&#039; type=&#039;get&#039; id=&#039;getlist1&#039;&gt;<br />&lt;query xmlns=&#039;jabber:iq:privacy&#039;/&gt;<br />&lt;/iq&gt;</code></div> <p>to the server, I received an</p> <div class="codeblock"><code>&lt;iq id=&quot;getlist1&quot; from=&quot;domain.com&quot; type=&quot;error&quot;&gt;&lt;error code=&quot;503&quot; type=&quot;CANCEL&quot;&gt;&lt;service-unavailable xmlns=&quot;urn:ietf:params:xml:ns:xmpp-stanzas&quot;/&gt;&lt;/error&gt;&lt;/iq&gt;</code></div> <p>Just only try to follow the example 1 of <noindex><a href="http://xmpp.org/extensions/xep-0016.html" title="http://xmpp.org/extensions/xep-0016.html" rel="nofollow" >http://xmpp.org/extensions/xep-0016.html</a></noindex></p> <p>Any ideas?</p> <p>Thanks!</p> Wed, 10 Jun 2015 15:32:41 +0000 jmmorlesin comment 65751 at https://www.ejabberd.im Hi, Thanks for your reply https://www.ejabberd.im/node/24945#comment-65750 <p>Hi,</p> <p>Thanks for your reply badlop.</p> <p>I'm trying to create one specific privacy list to one user, in order to create this proof of concept.</p> <p>Based on: <noindex><a href="http://xmpp.org/extensions/xep-0016.html" title="http://xmpp.org/extensions/xep-0016.html" rel="nofollow" >http://xmpp.org/extensions/xep-0016.html</a></noindex></p> <p>How can I send this messages to the server?</p> <p>For example:</p> <p>Thanks a lot!</p> Wed, 10 Jun 2015 10:54:38 +0000 jmmorlesin comment 65750 at https://www.ejabberd.im There isn't any specific https://www.ejabberd.im/node/24945#comment-65749 <p>There isn't any specific feature in ejabberd that implements what you want.</p> <p>Just thinking, I can only imagine a workaround.</p> <p>First you can try if it helps to set some privacy list (as defined in the XMPP standard, and the most common Jabber clients implement it, like Psi, Gajim, Tkabber...). </p> <p>If you are able to get what you want with a specific privacy list defined by a user, the next step would be to automatize this using the ejabberd command called "privacy_set" that is implemented in mod_admin_extra. The idea would be to run that command with some argument that you would find, whenever a new account is created.</p> <p>Or it could be automatized writting a simple ejabberd module just to do that.</p> Tue, 09 Jun 2015 17:03:56 +0000 badlop comment 65749 at https://www.ejabberd.im