<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>Dovecot wiki says the solr url is something like 'solr/dovecot/'
but this gives a 404, if I install solr as per the docs I have a
'solr/#/dovecot/' url:<br>
</p>
<p><a href="https://wiki.dovecot.org/Plugins/FTS/Solr">https://wiki.dovecot.org/Plugins/FTS/Solr</a></p>
<p>I have installed dovecot 2.3 from <a
href="https://repo.dovecot.org/">https://repo.dovecot.org/</a>
and solr 8.3 as per the wiki on a Ubuntu 18.04.<br>
</p>
<p><br>
</p>
<p>The problem and the guess work I did:</p>
<p><br>
</p>
<p>fts_solr = url=<a class="moz-txt-link-freetext" href="http://localhost:8983/solr/#/dovecot/">http://localhost:8983/solr/#/dovecot/</a></p>
<p>doveconf: Warning: Configuration file
/etc/dovecot/conf.d/90-plugin.conf line 13: Ambiguous '#'
character in line, treating it as comment. Add a space before it
to remove this warning.</p>
<p><br>
</p>
<p>fts_solr = url=<a class="moz-txt-link-rfc2396E" href="http://localhost:8983/solr/#/dovecot/">"http://localhost:8983/solr/#/dovecot/"</a></p>
<p>Error: fts: Failed to initialize backend 'solr': fts_solr: Failed
to parse HTTP url: Path component contains invalid character</p>
<p><br>
</p>
<p>fts_solr = url='<a class="moz-txt-link-freetext" href="http://localhost:8983/solr/#/dovecot/">http://localhost:8983/solr/#/dovecot/</a>'<br>
</p>
<p>Error: fts: Failed to initialize backend 'solr': fts_solr: Failed
to parse HTTP url: Relative HTTP URL not allowed<br>
</p>
<p><br>
</p>
<p>fts_solr = url=<a class="moz-txt-link-freetext" href="http://localhost:8983/solr/%23/dovecot/">http://localhost:8983/solr/%23/dovecot/</a></p>
<p>Error: Failed to expand plugin setting fts_solr =
'url=<a class="moz-txt-link-freetext" href="http://localhost:8983/solr/%23/dovecot/">http://localhost:8983/solr/%23/dovecot/</a>': Unknown variable
'%/'</p>
<p><br>
</p>
<p>fts_solr = 'url=<a class="moz-txt-link-freetext" href="http://localhost:8983/solr/#/dovecot/">http://localhost:8983/solr/#/dovecot/</a>'</p>
<p>fts_solr: Failed to parse HTTP url: URL fragment not allowed for
HTTP URL in this context<br>
</p>
<p><br>
</p>
<p>Thanks for any help.<br>
</p>
<p><br>
</p>
<div class="moz-signature">-- <br>
<style type="text/css">
#a1AssinaturaEmail { font-family: Tahoma, Verdana, Arial; font-size: 10px; }
#a1AssinaturaEmail * { font-family: Tahoma, Verdana, Arial; font-size: 10px; }
#a1AssinaturaEmail a { text-decoration: none; color: #FF9900; }
</style>
<div id="a1AssinaturaEmail"> <span style="font-size: 12px;"><b>Marcio
Merlone=</b></span><br>
</div>
</div>
</body>
</html>