Package: dovecot-solr
Version: 1:2.1.7-7
Severity: normal

Dear Maintainer,

In order for dovecot to communicate correctly with solr, solr and
dovecot need to agree on a schema.  The dovecot sources include the
necessary schema as doc/solr-schema.xml.  This file should probably (at
least) be included in the dovecot-solr package.  Better would be to also
include directions on how to set up dovecot to speak with solr.

A simple hack to get a working instance involves replacing
/etc/solr/conf/schema.xml with the contents of solr-schema.xml.  This
suffices for my specific setup, where solr is only being used by
dovecot.  It is my guess, however, that something better can be done
whereby solr can be used with multiple schemas.  All that is beyone my
ken at the moment.

Some basic information can be found at:
http://wiki2.dovecot.org/Plugins/FTS/Solr

-- Package-specific info:
dovecot configuration
---------------------
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-686-pae i686 Debian 7.0 
mail_plugins = " fts fts_solr"
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date ihave
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix = 
}
passdb {
  driver = pam
}
plugin {
  fts = solr
  fts_solr = url=http://localhost:8080/solr/
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = " imap sieve"
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  driver = passwd
}
protocol lda {
  mail_plugins = " sieve"
}

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (102, 'unstable'), (101, 'experimental'), (99, 'testing'), (9, 
'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dovecot-solr depends on:
ii  dovecot-core     1:2.1.7-7
ii  libc6            2.13-38
ii  libcurl3-gnutls  7.30.0-1
ii  libexpat1        2.1.0-1

dovecot-solr recommends no packages.

dovecot-solr suggests no packages.

Versions of packages dovecot-solr is related to:
ii  dovecot-core [dovecot-common]  1:2.1.7-7
ii  dovecot-dbg                    1:2.1.7-7
pn  dovecot-dev                    <none>
ii  dovecot-gssapi                 1:2.1.7-7
ii  dovecot-imapd                  1:2.1.7-7
ii  dovecot-ldap                   1:2.1.7-7
pn  dovecot-lmtpd                  <none>
ii  dovecot-managesieved           1:2.1.7-7
ii  dovecot-mysql                  1:2.1.7-7
ii  dovecot-pgsql                  1:2.1.7-7
pn  dovecot-pop3d                  <none>
ii  dovecot-sieve                  1:2.1.7-7
ii  dovecot-sqlite                 1:2.1.7-7

-- no debconf information

-- 
Michael Welsh Duggan
([email protected])

Reply via email to