<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Can you try enabling rawlogs and provide those? This probably
needs some certain sequence of commands, see
<a class="moz-txt-link-freetext" href="https://wiki.dovecot.org/Debugging/Rawlog">https://wiki.dovecot.org/Debugging/Rawlog</a> how to enable them, you
can just set the rawlog_dir setting, don't forget to create and
make it writable for dovecot, no rawlogs otherwise.<br>
</p>
Aki<br>
<br>
<div class="moz-cite-prefix">On 26.07.2018 12:35,
<a class="moz-txt-link-abbreviated" href="mailto:wertstoffe@nurfuerspam.de">wertstoffe@nurfuerspam.de</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:trinity-18e4a8ff-0aed-493d-98de-60561f133f95-1532597748849@3c-app-gmx-bs15">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>Ok... I changed my config a little... to make it simpler.<br>
<br>
I deleted the SYNOPTIC Namespace and all its
Mailbox-Configurations and made the "Real" Namespace
unhidden.</div>
<div> </div>
<div>namespace Real {<br>
prefix = Real/<br>
separator = "/"<br>
#hidden = yes<br>
#list = no<br>
# uncomment the following to debug, and comment the above<br>
hidden = no<br>
list = children<br>
subscriptions = no<br>
location =
virtual:/var/mail/real:INDEX=/var/lib/dovecot/db/indexes/real/%u<br>
ignore_on_failure = no<br>
}</div>
<div>
<div> </div>
<div>Thunderbird and doveadm shows me now all Mailboxes from
the Real-Namespace:</div>
<div># doveadm mailbox list -u jakob|grep Real<br>
Real<br>
Real/Archiv_zweijahr<br>
Real/halbjahr<br>
Real/Archiv<br>
Real/einmonat<br>
Real/zweimonat<br>
Real/dreijahr<br>
Real/zweijahr<br>
Real/einjahr<br>
Real/Alle</div>
<div>The dovecot-virtual from Real/Alle is</div>
<div>/var/mail/real: # cat Alle/dovecot-virtual<br>
!INBOX<br>
INBOX/*<br>
-INBOX/Trash<br>
-INBOX/Trash/*<br>
-INBOX/Archives<br>
-INBOX/Archives/*<br>
-INBOX/Drafts<br>
-INBOX/Drafts/*<br>
-INBOX/Junk<br>
-INBOX/Junk/*<br>
-INBOX/SYSTEM<br>
-INBOX/SYSTEM/*<br>
all</div>
<div> </div>
<div> </div>
<div>When i try to open a Mailbox from them in Thunderbird i
get this error in my logs (for example i opened Alle):</div>
<div>Jul 26 11:33:44 aldebaran dovecot[14873]: imap-login:
Login: user=<jakob>, method=PLAIN, rip=92.60.9.18,
lip=192.168.0.14, mpid=17347, TLS,
session=<scQAseNxo3NcPAkS><br>
Jul 26 11:33:45 aldebaran dovecot[14873]:
imap(jakob)<17347><scQAseNxo3NcPAkS>: Panic:
file mail-index.c: line 752 (mail_index_close_nonopened):
assertion failed: (index->views == NULL)<br>
Jul 26 11:33:45 aldebaran dovecot[14873]:
imap(jakob)<17347><scQAseNxo3NcPAkS>: Error:
Raw backtrace:
/usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1)
[0x7f1ba2b9bdf1] ->
/usr/local/lib/dovecot/libdovecot.so.0(+<br>
0xceeba) [0x7f1ba2b9beba] ->
/usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0)
[0x7f1ba2b09fe8] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7028)
[0x7f1ba2d41028] -> /usr/local/lib/dovecot/libdovecot-s<br>
torage.so.0(index_storage_mailbox_close+0x9a)
[0x7f1ba2d1872a] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a)
[0x7f1ba2c961aa] ->
/usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0<br>
x7f1ba286db80] ->
/usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b)
[0x7f1ba286dd3b] ->
/usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9)
[0x7f1ba2870f1<br>
9] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51)
[0x7f1ba2c986d1] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37)
[0x7f1ba2c98787] -> dovecot/imap [jakob 92.60.9.<br>
18 select](cmd_select_full+0x17e) [0x55ab6bfb7ace] ->
dovecot/imap [jakob 92.60.9.18 select](command_exec+0x64)
[0x55ab6bfbf384] -> dovecot/imap [jakob 92.60.9.18
select](+0x1c832) [0x55ab6bfbd832] -> dovecot/im<br>
ap [jakob 92.60.9.18 select](+0x1c8cc) [0x55ab6bfbd8cc]
-> dovecot/imap [jakob 92.60.9.18
select](client_handle_input+0x1b5) [0x55ab6bfbdcd5] ->
dovecot/imap [jakob 92.60.9.18 select](client_input+0xa4)
[0x55ab6<br>
bfbe2f4] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x69)
[0x7f1ba2bb4009] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x12e)
[0x7f1ba2bb58ce] -> /usr/local/lib/dovecot/<br>
libdovecot.so.0(io_loop_handler_run+0x4c) [0x7f1ba2bb410c]
->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_run+0x38)
[0x7f1ba2bb4318] ->
/usr/local/lib/dovecot/libdovecot.so.0(master_service_run+0x13)
[0x7f1ba<br>
2b2e413] -> dovecot/imap [jakob 92.60.9.18
select](main+0x331) [0x55ab6bfaff81] ->
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)
[0x7f1ba28efb17] -> dovecot/imap [jakob 92.60.9.18
select](_start+0x2a)<br>
[0x55ab6bfb016a]<br>
Jul 26 11:33:45 aldebaran dovecot[14873]:
imap(jakob)<17347><scQAseNxo3NcPAkS>: Fatal:
master: service(imap): child 17347 killed with signal 6
(core dumped)<br>
Jul 26 11:33:45 aldebaran dovecot[14873]: imap-login:
Login: user=<jakob>, method=PLAIN, rip=92.60.9.18,
lip=192.168.0.14, mpid=17349, TLS,
session=<RKUIseNxpHNcPAkS><br>
Jul 26 11:33:45 aldebaran dovecot[14873]:
imap(jakob)<17349><RKUIseNxpHNcPAkS>: Panic:
file mail-index.c: line 752 (mail_index_close_nonopened):
assertion failed: (index->views == NULL)<br>
Jul 26 11:33:45 aldebaran dovecot[14873]:
imap(jakob)<17349><RKUIseNxpHNcPAkS>: Error:
Raw backtrace:
/usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1)
[0x7f5060afcdf1] ->
/usr/local/lib/dovecot/libdovecot.so.0(+<br>
0xceeba) [0x7f5060afceba] ->
/usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0)
[0x7f5060a6afe8] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7028)
[0x7f5060ca2028] -> /usr/local/lib/dovecot/libdovecot-s<br>
torage.so.0(index_storage_mailbox_close+0x9a)
[0x7f5060c7972a] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a)
[0x7f5060bf71aa] ->
/usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0<br>
x7f50607ceb80] ->
/usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b)
[0x7f50607ced3b] ->
/usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9)
[0x7f50607d1f1<br>
9] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51)
[0x7f5060bf96d1] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37)
[0x7f5060bf9787] -> dovecot/imap [jakob 92.60.9.<br>
18 select](cmd_select_full+0x17e) [0x557131605ace] ->
dovecot/imap [jakob 92.60.9.18 select](command_exec+0x64)
[0x55713160d384] -> dovecot/imap [jakob 92.60.9.18
select](+0x1c832) [0x55713160b832] -> dovecot/im<br>
ap [jakob 92.60.9.18 select](+0x1c8cc) [0x55713160b8cc]
-> dovecot/imap [jakob 92.60.9.18
select](client_handle_input+0x1b5) [0x55713160bcd5] ->
dovecot/imap [jakob 92.60.9.18 select](client_input+0xa4)
[0x55713<br>
160c2f4] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x69)
[0x7f5060b15009] ->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x12e)
[0x7f5060b168ce] -> /usr/local/lib/dovecot/<br>
libdovecot.so.0(io_loop_handler_run+0x4c) [0x7f5060b1510c]
->
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_run+0x38)
[0x7f5060b15318] ->
/usr/local/lib/dovecot/libdovecot.so.0(master_service_run+0x13)
[0x7f506<br>
0a8f413] -> dovecot/imap [jakob 92.60.9.18
select](main+0x331) [0x5571315fdf81] ->
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)
[0x7f5060850b17] -> dovecot/imap [jakob 92.60.9.18
select](_start+0x2a)<br>
[0x5571315fe16a]<br>
Jul 26 11:33:45 aldebaran dovecot[14873]:
imap(jakob)<17349><RKUIseNxpHNcPAkS>: Fatal:
master: service(imap): child 17349 killed with signal 6
(core dumped)</div>
<div> </div>
<div> </div>
<div>Jakob</div>
<div name="quote" style="margin:10px 5px 5px 10px; padding:
10px 0 10px 10px; border-left:2px solid #C3D9E5;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Donnerstag,
26. Juli 2018 um 11:26 Uhr<br>
<b>Von:</b> "Aki Tuomi" <a class="moz-txt-link-rfc2396E" href="mailto:aki.tuomi@dovecot.fi"><aki.tuomi@dovecot.fi></a><br>
<b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:wertstoffe@nurfuerspam.de">wertstoffe@nurfuerspam.de</a>,
<a class="moz-txt-link-abbreviated" href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a><br>
<b>Betreff:</b> Re: Aw: Re: Panic: Leaked view for index
- virtual mailbox</div>
<div name="quoted-content">
<div style="background-color: rgb(255,255,255);">
<p>I am pretty sure Synoptic/INBOX/Archives will not
be same as INBOX/Archives.</p>
<p>a SELECT Synoptic/INBOX/Archives<br>
a NO Mailbox doesn't exist: Synoptic/INBOX/Archives
(0.001 + 0.000 secs).<br>
</p>
<p>a SELECT INBOX/Archives<br>
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)<br>
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted
\Seen \Draft \*)] Flags permitted.<br>
* 45 EXISTS</p>
<p>So as you can see, specifying 'INBOX/Archives'
under 'Synoptic' namespace means it will not be the
same as INBOX/Archives. It is a separate mailbox,
and the only way it can work is if you have
INBOX/Archives/dovecot-virtual file which specifies
that it reads & writes to INBOX/Archives. This
is not the way to make some kind of fancy aliasing.</p>
<p>I took a stab at reproducing your issue, but so far
no luck. I have to try including the Archiv
namespace as well.</p>
Aki<br>
<div class="moz-cite-prefix">On 26.07.2018 12:01, <a
class="moz-txt-link-abbreviated"
href="mailto:wertstoffe@nurfuerspam.de"
onclick="parent.window.location.href='wertstoffe@nurfuerspam.de';
return false;" target="_blank"
moz-do-not-send="true">wertstoffe@nurfuerspam.de</a>
wrote:</div>
<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>Hello!</div>
<div> </div>
<div>(and sorry for double mailings... i have
some troubles with my mailprovider 1&1...
:-/ )<br>
Yes, i have for all of them similar Folders
and Configurations. But i thought, it was to
much to send you, because, they all are
similar.<br>
<br>
There is one Namespace "Real" with according
Folder in /var/mail/real.<br>
This Namespace is hidden to the User. It is
used to "prepare" the views to the emails. All
Emails, only all emails from the last month,
halfyear, year, 2 years and so on. The Archive
in the dovecot-virtual config in "Archiv" is a
separate Namespace. (look below)<br>
<br>
/var/mail/real: # l<br>
insgesamt 0<br>
drwxr-sr-x 1 vmail vmail 30 Jul 12 17:47 Alle<br>
drwxr-sr-x 1 vmail vmail 30 Jul 10 00:06
Archiv<br>
drwxr-sr-x 1 vmail vmail 30 Jul 10 00:06
Archiv_zweijahr<br>
-rw-r--r-- 1 vmail vmail 0 Nov 27 2017
dovecot-acl-list<br>
drwxr-sr-x 1 vmail vmail 30 Jul 12 11:06
dreijahr<br>
drwxr-sr-x 1 vmail vmail 30 Jul 12 11:06
einjahr<br>
drwxr-sr-x 1 vmail vmail 30 Jul 10 00:06
einmonat<br>
drwxr-sr-x 1 vmail vmail 30 Jul 12 17:46
halbjahr<br>
drwxr-sr-x 1 vmail vmail 30 Jul 12 11:06
zweijahr<br>
drwxr-sr-x 1 vmail vmail 30 Jul 10 00:06
zweimonat<br>
<br>
For example:<br>
/var/mail/real: # cat Alle/dovecot-virtual<br>
!INBOX<br>
INBOX/*<br>
-INBOX/Trash<br>
-INBOX/Trash/*<br>
-INBOX/Archives<br>
-INBOX/Archives/*<br>
-INBOX/Drafts<br>
-INBOX/Drafts/*<br>
-INBOX/Junk<br>
-INBOX/Junk/*<br>
-INBOX/SYSTEM<br>
-INBOX/SYSTEM/*<br>
all<br>
<br>
The "All-Mailbox" for only one year:<br>
/var/mail/real: # cat einjahr/dovecot-virtual<br>
!Real/Alle<br>
all younger 31536000<br>
<br>
The others "zweijahr", "halbjahr" and so on
keep the same definition, but with other count
of seconds... this is for playing around,
which is the best period to hold in the
"AKTUELLE" Mailbox in Synoptic. And to choose
in Thunderbird or other Mailclients, for
faster syncing or more emails.<br>
<br>
and the Archiv:<br>
/var/mail/real: # cat Archiv/dovecot-virtual<br>
Archiv/*<br>
all<br>
<br>
And now the other Folder /var/mail/virtual,
which contains the Namespace "SYNOPTIC". Here
i collect different Views for my emails. This
Namespace is shown to the User, and i can
subscribe them in the MUA.<br>
<br>
/var/mail/virtual: # cat
AKTUELL/dovecot-virtual<br>
!Real/halbjahr<br>
all<br>
<br>
/var/mail/virtual: # cat
ARCHIV/dovecot-virtual<br>
Archiv<br>
Archiv/*<br>
all younger 1261440000<br>
<br>
/var/mail/virtual: # cat
Ungelesene/dovecot-virtual<br>
Real/Alle<br>
unseen<br>
<br>
/var/mail/virtual: # cat Sent/dovecot-virtual<br>
!INBOX/Sent<br>
INBOX/Sent/*<br>
all<br>
<br>
and the Namespace "Archive" is located in<br>
/var/mail/archiv<br>
and contains all archieved emails. (There are
really a lot Emails).<br>
I declare this Namespace as "Special Folder",
so Thunderbird picks it up as the
Archive-Folder for automatic archieving old
emails.<br>
<br>
The thing is, I get the error on the "Alle",
"Send", "ungelesene"... Mailboxes. The
Archiv-Mailbox is working correctly!<br>
<br>
Another funny thing is... I got this error on
older versions and also on version 2.4
(=master in git). But not all the time.<br>
Some day it worked without error... It worked
until i deleted the whole index-directories a
few days ago... then i got the error. Without
changing the config!!<br>
<br>
Uhmm... Yes, there is this
Synoptic/INBOX/Archives Mailbox. This is for a
special Mailclient "K9Mail" (on Android).
Because i used there only the
Synoptic-Namespace. And K9Mail created itself
an own Archive-Folder, if there is no one
below INBOX. With this solution, K9Mail shows
the same Archive as Thunderbird shows ist as
Special folder.<br>
<br>
<br>
The Gmail-App handles different Namespaces at
the same time, but cannot handle different
Identities.<br>
K9Mail can handle different Identities (for
Alias-Emailadresses) for the same Account, but
only one Namespace...<br>
<br>
Jakob</div>
<div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>