[Dovecot] Help needed with SOLR integration
Nigel Smith
gb10hkzo-dovecot at yahoo.co.uk
Mon Aug 5 19:07:15 EEST 2013
Hi,
Is there anything wrong with this config for getting SOLR working ?
I'm on Ubuntu 12.04LTS and using the bundled Jetty and SOLR.
Calling "http://localhost:8080/solr/update?optimize=true" doesn't return an error. And I'm pretty sure I've replaced the schema ?
Help & thanks in advance
Nigel
# 2.0.19: /etc/dovecot/dovecot.conf
# OS: Linux 3.5.0-37-generic x86_64 Ubuntu 12.04.2 LTS
mail_location = maildir:~/Maildir
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
passdb {
args = scheme=CRYPT username_format=%u /etc/dovecot/users
driver = passwd-file
}
plugin {
fts = solr
fts_solr = url=http://localhost:8080/solr/
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
protocols = imap lmtp sieve
service auth {
unix_listener /var/spool/postfix/private/dovecot-auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-userdb {
group = its-virtmail
user = its-virtmail
}
}
service imap-login {
process_min_avail = 3
}
service lmtp {
process_min_avail = 5
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}
user = its-virtmail
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
process_min_avail = 3
}
ssl = required
ssl_cert = </etc/ssl/certs/mx_example_com.pem
ssl_cipher_list = TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!3DES:!PSK:@STRENGTH
ssl_key = </etc/ssl/private/mx_example_com.key
userdb {
args = username_format=%u /etc/dovecot/users
driver = passwd-file
}
protocol imap {
imap_client_workarounds = delay-newmail
mail_max_userip_connections = 10
mail_plugins = fts fts_solr
}
protocol pop3 {
mail_max_userip_connections = 10
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
protocol lda {
deliver_log_format = msgid=%m: %$
mail_plugins = sieve
postmaster_address = postmaster
quota_full_tempfail = yes
rejection_reason = Your message to <%t> was automatically rejected:%n%r
}
protocol lmtp {
mail_plugins = sieve
postmaster_address = bp at example.com
}
More information about the dovecot
mailing list