doveadm index: can't index a different namespace?

Larry Rosenman larryrtx at gmail.com
Wed Nov 2 17:32:28 UTC 2016


It's ALWAYS failed on the other NAMESPACE.

Some of the logging looks weird as well for the 2nd namespace:

Nov  2 12:32:03 thebighonker dovecot: imap-login: Login: user=<mrm>,
method=PLAIN, rip=207.231.91.36, lip=192.147.25.65, mpid=76712, TLS,
session=<HC+00VRAWczP51sk>
Nov  2 12:32:03 thebighonker dovecot: imap(mrm): Debug: Loading modules
from directory: /usr/local/lib/dovecot
Nov  2 12:32:03 thebighonker dovecot: imap(mrm): Debug: Module loaded:
/usr/local/lib/dovecot/lib15_notify_plugin.so
Nov  2 12:32:03 thebighonker dovecot: imap(mrm): Debug: Module loaded:
/usr/local/lib/dovecot/lib20_fts_plugin.so
Nov  2 12:32:03 thebighonker dovecot: imap(mrm): Debug: Module loaded:
/usr/local/lib/dovecot/lib20_mail_log_plugin.so
Nov  2 12:32:03 thebighonker dovecot: imap(mrm): Debug: Module loaded:
/usr/local/lib/dovecot/lib21_fts_lucene_plugin.so
Nov  2 12:32:03 thebighonker dovecot: imap(mrm): Debug: Module loaded:
/usr/local/lib/dovecot/lib90_stats_plugin.so
Nov  2 12:32:03 thebighonker dovecot: imap(mrm): Debug: Module loaded:
/usr/local/lib/dovecot/lib95_imap_stats_plugin.so
Nov  2 12:32:03 thebighonker dovecot: imap(mrm): Debug: Effective uid=1004,
gid=1004, home=/home/mrm
Nov  2 12:32:03 thebighonker dovecot: imap(mrm): Debug: Namespace inbox:
type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes,
subscriptions=yes location=mbox:~/mail:INBOX=~/mail/INBOX
Nov  2 12:32:03 thebighonker dovecot: imap(mrm): Debug: fs:
root=/home/mrm/mail, index=, indexpvt=, control=,
inbox=/home/mrm/mail/INBOX, alt=
Nov  2 12:32:03 thebighonker dovecot: imap(mrm): Debug: Namespace archive:
type=private, prefix=#ARCHIVE/, sep=/, inbox=no, hidden=no, list=no,
subscriptions=yes location=mbox:~/MAILARCHIVE
Nov  2 12:32:03 thebighonker dovecot: imap(mrm): Debug: mbox: INBOX
defaulted to /home/mrm/MAILARCHIVE/inbox
Nov  2 12:32:03 thebighonker dovecot: imap(mrm): Debug: fs:
root=/home/mrm/MAILARCHIVE, index=, indexpvt=, control=,
inbox=/home/mrm/MAILARCHIVE/inbox, alt=



On Wed, Nov 2, 2016 at 12:30 PM, Timo Sirainen <tss at iki.fi> wrote:

> It's getting a bit strange. You were running 2.2.25 previously and it was
> working then? Does the doveadm index always fail with the same errors?
>
> Also I just noticed that it's saying INBOX isn't selectable: "lucene:
> Failed to sync mailbox INBOX: Mailbox isn't selectable". Which I guess
> isn't true. It seems to be failing somewhat randomly..
>
> On 02 Nov 2016, at 19:25, Larry Rosenman <larryrtx at gmail.com> wrote:
>
> thebighonker.lerctr.org ~ $ doveadm mailbox status -u ler at lerctr.org
> vsize \#ARCHIVE/2016/10/clamav-rules
> #ARCHIVE/2016/10/clamav-rules vsize=3840752
> thebighonker.lerctr.org ~ $
>
>
>
> On Wed, Nov 2, 2016 at 12:22 PM, Timo Sirainen <tss at iki.fi> wrote:
>
>> On 02 Nov 2016, at 19:19, Larry Rosenman <larryrtx at gmail.com> wrote:
>> >
>> > clamav-rules is NOT a directory, nor are any of the others:
>>
>> Can you access these mboxes at all with Dovecot? e.g.
>>
>> doveadm mailbox status -u user at domain clamav-rules
>>
>> > thebighonker.lerctr.org ~/MAILARCHIVE $ cd 2016/10
>> > thebighonker.lerctr.org ~/MAILARCHIVE/2016/10 $ ls -l
>> > total 72106
>> > -rw-r--r--   1 ler  ler     440461 Nov  1 00:05 Amplify_Mail
>> > -rw-r--r--   1 ler  ler  104102478 Nov  1 14:53 INBOX
>> > drwxr-xr-x   3 ler  ler          4 Nov  1 00:05 SA
>> > -rw-r--r--   1 ler  ler   21083767 Nov  1 00:05 SENT
>> > -rw-r--r--   1 ler  ler    1850677 Nov  1 00:05 SPAM
>> > -rw-r--r--   1 ler  ler      36483 Nov  1 00:05 UFCU_Mail
>> > -rw-r--r--   1 ler  ler     460073 Nov  1 00:05 bacula
>> > -rw-r--r--   1 ler  ler    1107098 Nov  1 00:05 bayes-update
>> > -rw-r--r--   1 ler  ler    3884041 Nov  1 00:05 clamav-rules
>> > -rw-r--r--   1 ler  ler     652132 Nov  1 00:05 firewall
>> > drwxr-xr-x  11 ler  ler         20 Nov  1 00:05 lists
>> > -rw-r--r--   1 ler  ler   25122465 Nov  1 00:05 root-mail
>> > -rw-r--r--   1 ler  ler      44553 Nov  1 00:05 satelliteguys
>> > -rw-r--r--   1 ler  ler     625628 Nov  1 00:05 wview
>> > thebighonker.lerctr.org ~/MAILARCHIVE/2016/10 $
>> >
>> > On Wed, Nov 2, 2016 at 12:17 PM, Timo Sirainen <tss at iki.fi> wrote:
>> >
>> >> On 01 Nov 2016, at 20:30, Larry Rosenman <larryrtx at gmail.com> wrote:
>> >>>
>> >>> doveadm -D  -vvvvvv index  \#ARCHIVE/\* garners the below for ALL
>> >> mailboxes
>> >>> in the
>> >>> namespace:
>> >>> doveadm(ler): Error: Mailbox #ARCHIVE/2013/04/clamav-rules: Status
>> lookup
>> >>> failed: Internal error occurred. Refer to server log for more
>> >> information.
>> >>> [2016-11-01 13:25:21]
>> >>> doveadm(ler): Error: lucene: Failed to sync mailbox INBOX: Mailbox
>> isn't
>> >>> selectable
>> >>
>> >> You're using mbox format and "clamav-rules" is a directory. I guess
>> >> doveadm should be ignoring non-selectable mailboxes.
>> >>
>> >>
>> >
>> >
>> > --
>> > Larry Rosenman                     http://www.lerctr.org/~ler
>> > Phone: +1 214-642-9640 (c)     E-Mail: larryrtx at gmail.com
>> > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
>>
>>
>
>
> --
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 (c)     E-Mail: larryrtx at gmail.com
> US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
>
>
>


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: larryrtx at gmail.com
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281


More information about the dovecot mailing list