Eric Abrahamsen <eric at ericabrahamsen.net> writes:
> Hi,
>
> I'm using dovecot (version 2.2.13 on archlinux) in the simplest,
> no-brainer way possible. It sits between mbsync, which I use to fetch
> mail from servers, and Gnus, my MUA. Both mbsync and Gnus connect to
> dovecot with an invocation like this:
>
> /usr/lib/dovecot/imap -o mail_location=maildir:$HOME/.mail/ea/
>
> I have three different mail accounts, all that changes is the final
> directory on the mail_location path above.
>
> I haven't touched anything else: there's no running daemon, no
> configuration, no user database, no PAM, no nothing.
>
> Now I'm trying to set up text searching via lucene, but all the
examples
> I've seen online assume a full running daemon and user accounts. I
tried
> to fake it by running:
>
> doveadm index -u eric at localhost -q INBOX
> -o mail_location-maildir:/home/eric/.mail/ea
>
> but it was clearly expecting a user database.
>
> Is there any way to create text indexes for my three different accounts,
> in their respective directories, without fully setting up a running
> dovecot? I'll do that if I have to, but my current setup works great,
> and is very simple, and I'd like to keep it simple if I can.
>
> Thanks!
> Eric
I figured there probably wasn't any way to do this, and just set up
dovecot properly, running as a daemon.
E