I tried to implement a solr search server, but I found some unexpected behaviour when I turn on
autoindex according to http://wiki2.dovecot.org/Plugins/FTS.
I found that all autoindexed email are using "[email protected]" as username,
as shown in maillog:
indexer-worker([email protected]): Indexed 1 messages in INBOX
However, all manually indexed email (triggered by IMAP server search) are using "user1" as username,
as shown in maillog:
indexer-worker(user1): Indexed 2927 messages in INBOX.
I am using "user1" as login name, so all autoindexed mails don't appear in search result. How can I
use "user" as the username in autoindex?
BTW, I do have a few mailboxes in the format [email protected], which requires full
email address as the login name. How can I autoindex emails that automatically distinguishes
[email protected] (using "user1" as username) and [email protected] (using
"[email protected]" as username) given that the previous question is solved?