On 28.2.2012, at 2.14, Jean-Daniel Beaubien wrote:
Ok, I had to fix a few things. First of all, I had to declare mail_plugins = fts fts_solr in global file (dovecot.conf). After doing that, running doveadm fts optimize stopped giving me errors.
I ran doveadm index -user INBOX (and other folders). I'm assuming this actually did something because java/tomcat6 were really busy for a few mins and I could see the solr logs going nuts (/var/log/tomcat6/catalina.out).
OK, so it's indexing.
However, whenever I run a search thru thunderbird (searching the from/to/subject/body fields),
I think Thunderbird does this search internally, not via IMAP. You can test this by talking IMAP protocol directly:
telnet loclahost 143 a login user pass b select inbox c search text hello