Adding solr to dovecot

Tough one to crack.

  1. install solr
  2. rebuild dovecot with solr enabled
  3. create a file called /var/db/solr/dovecot/conf/elevate.xml
  4. copy /var/db/solr/solr/conf/elevate.xml to /var/db/solr/dovecot/conf/elevate.xml
  5. change the owner of the above file to "solr"

 

Highly non-obvious, but revealed by tracking /var/log/maillog and /var/log/solr/solr.log

Now, to access: ssh -L 8983:localhost:8983