I am pretty sure Synoptic/INBOX/Archives will not be same as INBOX/Archives. a SELECT Synoptic/INBOX/Archives a NO Mailbox doesn't exist: Synoptic/INBOX/Archives (0.001 + 0.000 secs). a SELECT INBOX/Archives * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted. * 45 EXISTS 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. I took a stab at reproducing your issue, but so far no luck. I have to try including the Archiv namespace as well. Aki On 26.07.2018 12:01, wertstoffe at nurfuerspam.de wrote:> Hello! > ? > (and sorry for double mailings... i have some troubles with my > mailprovider 1&1... :-/ ) > 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. > > There is one Namespace "Real" with according Folder in /var/mail/real. > 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) > > /var/mail/real: # l > insgesamt 0 > drwxr-sr-x 1 vmail vmail 30 Jul 12 17:47 Alle > drwxr-sr-x 1 vmail vmail 30 Jul 10 00:06 Archiv > drwxr-sr-x 1 vmail vmail 30 Jul 10 00:06 Archiv_zweijahr > -rw-r--r-- 1 vmail vmail? 0 Nov 27? 2017 dovecot-acl-list > drwxr-sr-x 1 vmail vmail 30 Jul 12 11:06 dreijahr > drwxr-sr-x 1 vmail vmail 30 Jul 12 11:06 einjahr > drwxr-sr-x 1 vmail vmail 30 Jul 10 00:06 einmonat > drwxr-sr-x 1 vmail vmail 30 Jul 12 17:46 halbjahr > drwxr-sr-x 1 vmail vmail 30 Jul 12 11:06 zweijahr > drwxr-sr-x 1 vmail vmail 30 Jul 10 00:06 zweimonat > > For example: > /var/mail/real: # cat Alle/dovecot-virtual > !INBOX > INBOX/* > -INBOX/Trash > -INBOX/Trash/* > -INBOX/Archives > -INBOX/Archives/* > -INBOX/Drafts > -INBOX/Drafts/* > -INBOX/Junk > -INBOX/Junk/* > -INBOX/SYSTEM > -INBOX/SYSTEM/* > ?all > > The "All-Mailbox" for only one year: > /var/mail/real: # cat einjahr/dovecot-virtual > !Real/Alle > ?all younger 31536000 > > 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. > > and the Archiv: > /var/mail/real: # cat Archiv/dovecot-virtual > Archiv/* > ?all > > 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. > > /var/mail/virtual: # cat AKTUELL/dovecot-virtual > !Real/halbjahr > ?all > > /var/mail/virtual: # cat ARCHIV/dovecot-virtual > Archiv > Archiv/* > ?all younger 1261440000 > > /var/mail/virtual: # cat Ungelesene/dovecot-virtual > Real/Alle > ?unseen > > /var/mail/virtual: # cat Sent/dovecot-virtual > !INBOX/Sent > INBOX/Sent/* > ?all > > and the Namespace "Archive" is located in > /var/mail/archiv > ?and contains all archieved emails. (There are really a lot Emails). > I declare this Namespace as "Special Folder", so Thunderbird picks it > up as the Archive-Folder for automatic archieving old emails. > > The thing is, I get the error on the "Alle", "Send", "ungelesene"... > Mailboxes. The Archiv-Mailbox is working correctly! > > 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. > 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!! > > 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. > > > The Gmail-App handles different Namespaces at the same time, but > cannot handle different Identities. > K9Mail can handle different Identities (for Alias-Emailadresses) for > the same Account, but only one Namespace... > > Jakob > ? > *Gesendet:*?Donnerstag, 26. Juli 2018 um 07:54 Uhr > *Von:*?"Aki Tuomi" <aki.tuomi at dovecot.fi> > *An:*?"Jakobus Sch?rz" <jakobus.schuerz at ebcont.com>, dovecot at dovecot.org > *Betreff:*?Re: Panic: Leaked view for index - virtual mailbox > Hi! > > Was looking at your config and I am puzzled why you are adding > > ? mailbox INBOX/Archives { > ??? auto = no > ??? special_use = \Archive > ? } > > under namespace 'Synoptic'? Do you actually have a virtual folder config > for all those folders? You can't just "move" folders into a namespace by > declaring them there, those become Synoptic/INBOX/Archives, and require > a dovecot-virtual file to work. > > If the only mailbox in Synoptic, that has a dovecot-virtual file is > 'AKTUELL', you should remove all folders that do not have a > dovecot-virtual file under /var/mail/virtual. > > Aki > > > On 25.07.2018 10:46, Jakobus Sch?rz wrote: > > Hi Aki! > > > > The config is in the attachment. > > > > The output from gdb is this: > > > > > > # gdb /usr/lib/dovecot/imap /var/core/24491 > > GNU gdb (Debian 8.1-3) 8.1 > > Copyright (C) 2018 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later > > <http://gnu.org/licenses/gpl.html> > > This is free software: you are free to change and redistribute it. > > There is NO WARRANTY, to the extent permitted by law.? Type "show > > copying" > > and "show warranty" for details. > > This GDB was configured as "x86_64-linux-gnu". > > Type "show configuration" for configuration details. > > For bug reporting instructions, please see: > > <http://www.gnu.org/software/gdb/bugs/>. > > Find the GDB manual and other documentation resources online at: > > <http://www.gnu.org/software/gdb/documentation/>. > > For help, type "help". > > Type "apropos word" to search for commands related to "word"... > > /usr/lib/dovecot/imap: Datei oder Verzeichnis nicht gefunden. > > [New LWP 24491] > > Core was generated by `dovecot/imap [jakob 213'. > > Program terminated with signal SIGABRT, Aborted. > > #0? 0x00007f5c8ac4cf3b in ?? () > > (gdb) bt full > > #0? 0x00007f5c8ac4cf3b in ?? () > > No symbol table info available. > > #1? 0x0000000000000000 in ?? () > > No symbol table info available. > > (gdb) quit > > > > And i have a complex setup for virtual mailboxes... > > > > For Synoptic/AKTUELL it is: > > > > # cat /var/mail/virtual/AKTUELL/dovecot-virtual > > !Real/halbjahr > > ?all > > > > And for Real/halbjahr it is: > > > > # cat /var/mail/real/halbjahr/dovecot-virtual > > !Real/Alle > > ?all younger 15768000 > > > > And for Real/Alle it is: > > > > # cat /var/mail/real/Alle/dovecot-virtual > > !INBOX > > INBOX/* > > -INBOX/Trash > > -INBOX/Trash/* > > -INBOX/Archives > > -INBOX/Archives/* > > -INBOX/Drafts > > -INBOX/Drafts/* > > -INBOX/Junk > > -INBOX/Junk/* > > -INBOX/SYSTEM > > -INBOX/SYSTEM/* > > ?all > > > > > > jakob > > > > > > Am 25.07.2018 um 09:11 schrieb Aki Tuomi: > >> So the core file is not very useful... > >> > >> can you, instead, attach your doveconf -n and your virtual folder > >> configurations and also > >> > >> gdb /usr/lib/dovecot/imap /path/to/core > >> bt full > >> > >> Aki > >> > >>> On 25 July 2018 at 09:55 Jakobus Sch?rz <jakobus.schuerz at ebcont.com> > >>> wrote: > >>> > >>> > >>> Hi Aki! > >>> > >>> This is debian buster, but a self-compiled dovecot from git! > >>> > >>> /usr/local/sbin/dovecot --version > >>> 2.3.2.1 (0719df592) > >>> > >>> jakob > >>> > >>> > >>> Am 25.07.2018 um 08:30 schrieb Aki Tuomi: > >>>> And can you provide dovecot --version too, please. > >>>> > >>>> Aki > >>>> > >>>>> On 25 July 2018 at 09:18 Aki Tuomi <aki.tuomi at dovecot.fi> wrote: > >>>>> > >>>>> > >>>>> Hi! > >>>>> > >>>>> Which debian release is this? > >>>>> > >>>>> Aki > >>>>> > >>>>>> On 25 July 2018 at 05:18 Jakobus Sch?rz > >>>>>> <jakobus.schuerz at ebcont.com> wrote: > >>>>>> > >>>>>> > >>>>>> Hi There! > >>>>>> > >>>>>> I run into this problem with virtual Mailboxes on release-2.3.2 > (and > >>>>>> also in master and in older versions of dovecot) > >>>>>> > >>>>>> I added the core-file. > >>>>>> > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: > >>>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Panic: Leaked view for index > >>>>>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index: > >>>>>> Opened > >>>>>> in index-storage.c:338 > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: > >>>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Error: Raw backtrace: > >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) > [0x7ffad9ac0df1] -> > >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+ > >>>>>> 0xceeba) [0x7ffad9ac0eba] -> > >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) > >>>>>> [0x7ffad9a2efe8] -> > >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022) > >>>>>> [0x7ffad9c66022] -> /usr/local/lib/dovecot/libdovecot-s > >>>>>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7ffad9c3d72a] -> > >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a) > >>>>>> [0x7ffad9bbb1aa] -> > >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0 > >>>>>> x7ffad9792b80] -> > >>>>>> > /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b) > >>>>>> > >>>>>> [0x7ffad9792d3b] -> > >>>>>> > /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9) > >>>>>> > >>>>>> [0x7ffad9795f1 > >>>>>> 9] -> > >>>>>> > /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) > >>>>>> > >>>>>> [0x7ffad9bbd6d1] -> > >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) > >>>>>> [0x7ffad9bbd787] -> /usr/local/lib/dovecot/libdo > >>>>>> vecot-storage.so.0(index_storage_get_status+0x31) > >>>>>> [0x7ffad9c3bed1] -> > >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) > >>>>>> [0x7ffad9791ead] > >>>>>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) > [0x7ffad > >>>>>> 9c1ff83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) > >>>>>> [0x7ffad97b4602] -> > >>>>>> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) > >>>>>> [0x7ffad99e9813] -> > >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox > >>>>>> _get_status+0x31) [0x7ffad9bbdb91] -> > >>>>>> > /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b) > >>>>>> > >>>>>> [0x7ffad9795b7b] -> > >>>>>> > /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) > >>>>>> [0 > >>>>>> x7ffad9bbd6d1] -> > >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) > >>>>>> [0x7ffad9bbd787] -> > >>>>>> > /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31) > >>>>>> > >>>>>> [0x7ffad9c3bed1] -> /usr/loca > >>>>>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7ffad9791ead] -> > >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) > >>>>>> [0x7ffad9c1ff83] -> > >>>>>> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) > >>>>>> [0x7ffad97b460 > >>>>>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) > >>>>>> [0x7ffad99e9813] -> > >>>>>> > /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31) > >>>>>> > >>>>>> [0x7ffad9bbdb91] -> /usr/local/lib/dovecot/lib20_virtual_plug > >>>>>> in.so(virtual_storage_sync_init+0xf0b) [0x7ffad9795b7b] -> > >>>>>> > /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) > >>>>>> > >>>>>> [0x7ffad9bbd6d1] > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: > >>>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Fatal: master: service(imap): > >>>>>> child 11292 killed with signal 6 (core dumped) > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in: > >>>>>> AUTH??????? 19??????? PLAIN??????? service=imap secured=tls > >>>>>> session=9KKNZclxHqPAqADc lip=192.168.0.14??????? rip=192.168.0.2 > >>>>>> 20??????? lport=143??????? rport=41758 > >>>>>> local_name=aldebaran.xundeenergie.at > >>>>>> ssl_cipher=ECDHE-RSA-AES128-GCM-SHA256 ssl_cipher_bits=128 > >>>>>> ssl_pfs=KxECDHE ssl_protocol=TLSv1.2 > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client > passdb > >>>>>> out: CONT??????? 19 > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in: > >>>>>> CONT<hidden> > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: > >>>>>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup: > >>>>>> user=jakob > >>>>>> file=/usr/local/etc/dovecot/users > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client > passdb > >>>>>> out: OK??????? 19??????? user=jakob > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master in: > >>>>>> REQUEST??????? 2436366337??????? 10570??????? 19 > >>>>>> dd4c468bbfe617d4ef06a1b8ce6c111d??????? session_pid=11298 > >>>>>> request_auth_token > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: > >>>>>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup: > >>>>>> user=jakob > >>>>>> file=/usr/local/etc/dovecot/users > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master > userdb > >>>>>> out: USER??????? 2436366337??????? jakob home=/var/mail/jakob > >>>>>> acl_groups=home,admin auth_token=3ea3b630e131 > >>>>>> 3bf5beb0f26ff740450189f63e3e > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: imap-login: Login: > >>>>>> user=<jakob>, method=PLAIN, rip=192.168.0.220, lip=192.168.0.14, > >>>>>> mpid=11298, TLS, session=<9KKNZclxHqPAqADc> > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: > >>>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Panic: Leaked view for index > >>>>>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index: > >>>>>> Opened > >>>>>> in index-storage.c:338 > >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: > >>>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Error: Raw backtrace: > >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) > [0x7fbd982b2df1] -> > >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+ > >>>>>> 0xceeba) [0x7fbd982b2eba] -> > >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) > >>>>>> [0x7fbd98220fe8] -> > >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022) > >>>>>> [0x7fbd98458022] -> /usr/local/lib/dovecot/libdovecot-s > >>>>>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7fbd9842f72a] -> > >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a) > >>>>>> [0x7fbd983ad1aa] -> > >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0 > >>>>>> x7fbd97f84b80] -> > >>>>>> > /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b) > >>>>>> > >>>>>> [0x7fbd97f84d3b] -> > >>>>>> > /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9) > >>>>>> > >>>>>> [0x7fbd97f87f1 > >>>>>> 9] -> > >>>>>> > /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) > >>>>>> > >>>>>> [0x7fbd983af6d1] -> > >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) > >>>>>> [0x7fbd983af787] -> /usr/local/lib/dovecot/libdo > >>>>>> vecot-storage.so.0(index_storage_get_status+0x31) > >>>>>> [0x7fbd9842ded1] -> > >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) > >>>>>> [0x7fbd97f83ead] > >>>>>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) > [0x7fbd9 > >>>>>> 8411f83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) > >>>>>> [0x7fbd97fa6602] -> > >>>>>> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) > >>>>>> [0x7fbd981db813] -> > >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox > >>>>>> _get_status+0x31) [0x7fbd983afb91] -> > >>>>>> > /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b) > >>>>>> > >>>>>> [0x7fbd97f87b7b] -> > >>>>>> > /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) > >>>>>> [0 > >>>>>> x7fbd983af6d1] -> > >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) > >>>>>> [0x7fbd983af787] -> > >>>>>> > /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31) > >>>>>> > >>>>>> [0x7fbd9842ded1] -> /usr/loca > >>>>>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7fbd97f83ead] -> > >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) > >>>>>> [0x7fbd98411f83] -> > >>>>>> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) > >>>>>> [0x7fbd97fa660 > >>>>>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) > >>>>>> [0x7fbd981db813] -> > >>>>>> > /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31) > >>>>>> > >>>>>> [0x7fbd983afb91] -> /usr/local/lib/dovecot/lib20_virtual_plug > >>>>>> in.so(virtual_storage_sync_init+0xf0b) [0x7fbd97f87b7b] -> > >>>>>> > /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) > >>>>>> > >>>>>> [0x7fbd983af6d1] > >>>>>> Jul 25 04:11:30 aldebaran dovecot[10573]: > >>>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Fatal: master: service(imap): > >>>>>> child 11298 killed with signal 6 (core dumped) > >>>>>> > >>>>>> > >>>>>> jakob > >>>>>> > > > ? > ? > ?-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180726/b8fc2307/attachment-0001.html>
wertstoffe at nurfuerspam.de
2018-Jul-26 09:35 UTC
Aw: Re: Re: Panic: Leaked view for index - virtual mailbox
<html><head></head><body><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" <aki.tuomi@dovecot.fi><br/> <b>An:</b> wertstoffe@nurfuerspam.de, dovecot@dovecot.org<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">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> <div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);"> <div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Donnerstag, 26. Juli 2018 um 07:54 Uhr<br/> <b>Von:</b> "Aki Tuomi" <a class="moz-txt-link-rfc2396E" href="mailto:aki.tuomi@dovecot.fi" onclick="parent.window.location.href='aki.tuomi@dovecot.fi'; return false;" target="_blank"><aki.tuomi@dovecot.fi></a><br/> <b>An:</b> "Jakobus Schürz" <a class="moz-txt-link-rfc2396E" href="mailto:jakobus.schuerz@ebcont.com" onclick="parent.window.location.href='jakobus.schuerz@ebcont.com'; return false;" target="_blank"><jakobus.schuerz@ebcont.com></a>, <a class="moz-txt-link-abbreviated" href="mailto:dovecot@dovecot.org" onclick="parent.window.location.href='dovecot@dovecot.org'; return false;" target="_blank">dovecot@dovecot.org</a><br/> <b>Betreff:</b> Re: Panic: Leaked view for index - virtual mailbox</div> <div>Hi!<br/> <br/> Was looking at your config and I am puzzled why you are adding<br/> <br/> mailbox INBOX/Archives {<br/> auto = no<br/> special_use = \Archive<br/> }<br/> <br/> under namespace 'Synoptic'? Do you actually have a virtual folder config<br/> for all those folders? You can't just "move" folders into a namespace by<br/> declaring them there, those become Synoptic/INBOX/Archives, and require<br/> a dovecot-virtual file to work.<br/> <br/> If the only mailbox in Synoptic, that has a dovecot-virtual file is<br/> 'AKTUELL', you should remove all folders that do not have a<br/> dovecot-virtual file under /var/mail/virtual.<br/> <br/> Aki<br/> <br/> <br/> On 25.07.2018 10:46, Jakobus Schürz wrote:<br/>> Hi Aki!<br/> ><br/> > The config is in the attachment.<br/> ><br/> > The output from gdb is this:<br/> ><br/> ><br/> > # gdb /usr/lib/dovecot/imap /var/core/24491<br/> > GNU gdb (Debian 8.1-3) 8.1<br/> > Copyright (C) 2018 Free Software Foundation, Inc.<br/> > License GPLv3+: GNU GPL version 3 or later<br/> > <<a href="http://gnu.org/licenses/gpl.html" target="_blank">http://gnu.org/licenses/gpl.html</a>><br/> > This is free software: you are free to change and redistribute it.<br/> > There is NO WARRANTY, to the extent permitted by law. Type "show<br/> > copying"<br/> > and "show warranty" for details.<br/> > This GDB was configured as "x86_64-linux-gnu".<br/> > Type "show configuration" for configuration details.<br/> > For bug reporting instructions, please see:<br/> > <<a href="http://www.gnu.org/software/gdb/bugs/" target="_blank">http://www.gnu.org/software/gdb/bugs/</a>>.<br/> > Find the GDB manual and other documentation resources online at:<br/> > <<a href="http://www.gnu.org/software/gdb/documentation/" target="_blank">http://www.gnu.org/software/gdb/documentation/</a>>.<br/> > For help, type "help".<br/> > Type "apropos word" to search for commands related to "word"...<br/> > /usr/lib/dovecot/imap: Datei oder Verzeichnis nicht gefunden.<br/> > [New LWP 24491]<br/> > Core was generated by `dovecot/imap [jakob 213'.<br/> > Program terminated with signal SIGABRT, Aborted.<br/> > #0 0x00007f5c8ac4cf3b in ?? ()<br/> > (gdb) bt full<br/> > #0 0x00007f5c8ac4cf3b in ?? ()<br/> > No symbol table info available.<br/> > #1 0x0000000000000000 in ?? ()<br/> > No symbol table info available.<br/> > (gdb) quit<br/> ><br/> > And i have a complex setup for virtual mailboxes...<br/> ><br/> > For Synoptic/AKTUELL it is:<br/> ><br/> > # cat /var/mail/virtual/AKTUELL/dovecot-virtual<br/> > !Real/halbjahr<br/> > all<br/> ><br/> > And for Real/halbjahr it is:<br/> ><br/> > # cat /var/mail/real/halbjahr/dovecot-virtual<br/> > !Real/Alle<br/> > all younger 15768000<br/> ><br/> > And for Real/Alle it is:<br/> ><br/> > # cat /var/mail/real/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/> ><br/> > jakob<br/> ><br/> ><br/> > Am 25.07.2018 um 09:11 schrieb Aki Tuomi:<br/> >> So the core file is not very useful...<br/> >><br/> >> can you, instead, attach your doveconf -n and your virtual folder<br/> >> configurations and also<br/> >><br/> >> gdb /usr/lib/dovecot/imap /path/to/core<br/> >> bt full<br/> >><br/> >> Aki<br/> >><br/> >>> On 25 July 2018 at 09:55 Jakobus Schürz <a class="moz-txt-link-rfc2396E" href="mailto:jakobus.schuerz@ebcont.com" onclick="parent.window.location.href='jakobus.schuerz@ebcont.com'; return false;" target="_blank"><jakobus.schuerz@ebcont.com></a><br/> >>> wrote:<br/> >>><br/> >>><br/> >>> Hi Aki!<br/> >>><br/> >>> This is debian buster, but a self-compiled dovecot from git!<br/> >>><br/> >>> /usr/local/sbin/dovecot --version<br/> >>> 2.3.2.1 (0719df592)<br/> >>><br/> >>> jakob<br/> >>><br/> >>><br/> >>> Am 25.07.2018 um 08:30 schrieb Aki Tuomi:<br/> >>>> And can you provide dovecot --version too, please.<br/> >>>><br/> >>>> Aki<br/> >>>><br/> >>>>> On 25 July 2018 at 09:18 Aki Tuomi <a class="moz-txt-link-rfc2396E" href="mailto:aki.tuomi@dovecot.fi" onclick="parent.window.location.href='aki.tuomi@dovecot.fi'; return false;" target="_blank"><aki.tuomi@dovecot.fi></a> wrote:<br/> >>>>><br/> >>>>><br/> >>>>> Hi!<br/> >>>>><br/> >>>>> Which debian release is this?<br/> >>>>><br/> >>>>> Aki<br/> >>>>><br/> >>>>>> On 25 July 2018 at 05:18 Jakobus Schürz<br/> >>>>>> <a class="moz-txt-link-rfc2396E" href="mailto:jakobus.schuerz@ebcont.com" onclick="parent.window.location.href='jakobus.schuerz@ebcont.com'; return false;" target="_blank"><jakobus.schuerz@ebcont.com></a> wrote:<br/> >>>>>><br/> >>>>>><br/> >>>>>> Hi There!<br/> >>>>>><br/> >>>>>> I run into this problem with virtual Mailboxes on release-2.3.2 (and<br/> >>>>>> also in master and in older versions of dovecot)<br/> >>>>>><br/> >>>>>> I added the core-file.<br/> >>>>>><br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]:<br/> >>>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Panic: Leaked view for index<br/> >>>>>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index:<br/> >>>>>> Opened<br/> >>>>>> in index-storage.c:338<br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]:<br/> >>>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Error: Raw backtrace:<br/> >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) [0x7ffad9ac0df1] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+<br/> >>>>>> 0xceeba) [0x7ffad9ac0eba] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0)<br/> >>>>>> [0x7ffad9a2efe8] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022)<br/> >>>>>> [0x7ffad9c66022] -> /usr/local/lib/dovecot/libdovecot-s<br/> >>>>>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7ffad9c3d72a] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a)<br/> >>>>>> [0x7ffad9bbb1aa] -><br/> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0<br/> >>>>>> x7ffad9792b80] -><br/> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b)<br/> >>>>>><br/> >>>>>> [0x7ffad9792d3b] -><br/> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9)<br/> >>>>>><br/> >>>>>> [0x7ffad9795f1<br/> >>>>>> 9] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51)<br/> >>>>>><br/> >>>>>> [0x7ffad9bbd6d1] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37)<br/> >>>>>> [0x7ffad9bbd787] -> /usr/local/lib/dovecot/libdo<br/> >>>>>> vecot-storage.so.0(index_storage_get_status+0x31)<br/> >>>>>> [0x7ffad9c3bed1] -><br/> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead)<br/> >>>>>> [0x7ffad9791ead]<br/> >>>>>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) [0x7ffad<br/> >>>>>> 9c1ff83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602)<br/> >>>>>> [0x7ffad97b4602] -><br/> >>>>>> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813)<br/> >>>>>> [0x7ffad99e9813] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox<br/> >>>>>> _get_status+0x31) [0x7ffad9bbdb91] -><br/> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b)<br/> >>>>>><br/> >>>>>> [0x7ffad9795b7b] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51)<br/> >>>>>> [0<br/> >>>>>> x7ffad9bbd6d1] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37)<br/> >>>>>> [0x7ffad9bbd787] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31)<br/> >>>>>><br/> >>>>>> [0x7ffad9c3bed1] -> /usr/loca<br/> >>>>>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7ffad9791ead] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83)<br/> >>>>>> [0x7ffad9c1ff83] -><br/> >>>>>> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602)<br/> >>>>>> [0x7ffad97b460<br/> >>>>>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813)<br/> >>>>>> [0x7ffad99e9813] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31)<br/> >>>>>><br/> >>>>>> [0x7ffad9bbdb91] -> /usr/local/lib/dovecot/lib20_virtual_plug<br/> >>>>>> in.so(virtual_storage_sync_init+0xf0b) [0x7ffad9795b7b] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51)<br/> >>>>>><br/> >>>>>> [0x7ffad9bbd6d1]<br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]:<br/> >>>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Fatal: master: service(imap):<br/> >>>>>> child 11292 killed with signal 6 (core dumped)<br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in:<br/> >>>>>> AUTH 19 PLAIN service=imap secured=tls<br/> >>>>>> session=9KKNZclxHqPAqADc lip=192.168.0.14 rip=192.168.0.2<br/> >>>>>> 20 lport=143 rport=41758<br/> >>>>>> local_name=aldebaran.xundeenergie.at<br/> >>>>>> ssl_cipher=ECDHE-RSA-AES128-GCM-SHA256 ssl_cipher_bits=128<br/> >>>>>> ssl_pfs=KxECDHE ssl_protocol=TLSv1.2<br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client passdb<br/> >>>>>> out: CONT 19<br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in:<br/> >>>>>> CONT<hidden><br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug:<br/> >>>>>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup:<br/> >>>>>> user=jakob<br/> >>>>>> file=/usr/local/etc/dovecot/users<br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client passdb<br/> >>>>>> out: OK 19 user=jakob<br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master in:<br/> >>>>>> REQUEST 2436366337 10570 19<br/> >>>>>> dd4c468bbfe617d4ef06a1b8ce6c111d session_pid=11298<br/> >>>>>> request_auth_token<br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug:<br/> >>>>>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup:<br/> >>>>>> user=jakob<br/> >>>>>> file=/usr/local/etc/dovecot/users<br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master userdb<br/> >>>>>> out: USER 2436366337 jakob home=/var/mail/jakob<br/> >>>>>> acl_groups=home,admin auth_token=3ea3b630e131<br/> >>>>>> 3bf5beb0f26ff740450189f63e3e<br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: imap-login: Login:<br/> >>>>>> user=<jakob>, method=PLAIN, rip=192.168.0.220, lip=192.168.0.14,<br/> >>>>>> mpid=11298, TLS, session=<9KKNZclxHqPAqADc><br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]:<br/> >>>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Panic: Leaked view for index<br/> >>>>>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index:<br/> >>>>>> Opened<br/> >>>>>> in index-storage.c:338<br/> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]:<br/> >>>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Error: Raw backtrace:<br/> >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) [0x7fbd982b2df1] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+<br/> >>>>>> 0xceeba) [0x7fbd982b2eba] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0)<br/> >>>>>> [0x7fbd98220fe8] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022)<br/> >>>>>> [0x7fbd98458022] -> /usr/local/lib/dovecot/libdovecot-s<br/> >>>>>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7fbd9842f72a] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a)<br/> >>>>>> [0x7fbd983ad1aa] -><br/> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0<br/> >>>>>> x7fbd97f84b80] -><br/> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b)<br/> >>>>>><br/> >>>>>> [0x7fbd97f84d3b] -><br/> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9)<br/> >>>>>><br/> >>>>>> [0x7fbd97f87f1<br/> >>>>>> 9] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51)<br/> >>>>>><br/> >>>>>> [0x7fbd983af6d1] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37)<br/> >>>>>> [0x7fbd983af787] -> /usr/local/lib/dovecot/libdo<br/> >>>>>> vecot-storage.so.0(index_storage_get_status+0x31)<br/> >>>>>> [0x7fbd9842ded1] -><br/> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead)<br/> >>>>>> [0x7fbd97f83ead]<br/> >>>>>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) [0x7fbd9<br/> >>>>>> 8411f83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602)<br/> >>>>>> [0x7fbd97fa6602] -><br/> >>>>>> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813)<br/> >>>>>> [0x7fbd981db813] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox<br/> >>>>>> _get_status+0x31) [0x7fbd983afb91] -><br/> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b)<br/> >>>>>><br/> >>>>>> [0x7fbd97f87b7b] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51)<br/> >>>>>> [0<br/> >>>>>> x7fbd983af6d1] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37)<br/> >>>>>> [0x7fbd983af787] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31)<br/> >>>>>><br/> >>>>>> [0x7fbd9842ded1] -> /usr/loca<br/> >>>>>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7fbd97f83ead] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83)<br/> >>>>>> [0x7fbd98411f83] -><br/> >>>>>> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602)<br/> >>>>>> [0x7fbd97fa660<br/> >>>>>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813)<br/> >>>>>> [0x7fbd981db813] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31)<br/> >>>>>><br/> >>>>>> [0x7fbd983afb91] -> /usr/local/lib/dovecot/lib20_virtual_plug<br/> >>>>>> in.so(virtual_storage_sync_init+0xf0b) [0x7fbd97f87b7b] -><br/> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51)<br/> >>>>>><br/> >>>>>> [0x7fbd983af6d1]<br/> >>>>>> Jul 25 04:11:30 aldebaran dovecot[10573]:<br/> >>>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Fatal: master: service(imap):<br/> >>>>>> child 11298 killed with signal 6 (core dumped)<br/> >>>>>><br/> >>>>>><br/> >>>>>> jakob<br/> >>>>>><br/> ><br/></div> </div> </div> </div> <div> </div> <div class="signature"> </div> </div> </blockquote> </div> </div> </div> </div> </div></div></body></html>
Aki Tuomi
2018-Jul-26 09:44 UTC
Aw: Re: Re: Panic: Leaked view for index - virtual mailbox
Can you try enabling rawlogs and provide those? This probably needs some certain sequence of commands, see https://wiki.dovecot.org/Debugging/Rawlog 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. Aki On 26.07.2018 12:35, wertstoffe at nurfuerspam.de wrote:> Ok... I changed my config a little... to make it simpler. > > I deleted the SYNOPTIC Namespace and all its Mailbox-Configurations > and made the "Real" Namespace unhidden. > ? > namespace Real { > ? prefix = Real/ > ? separator = "/" > ? #hidden = yes > ? #list = no > ? # uncomment the following to debug, and comment the above > ? hidden = no > ? list = children > ? subscriptions = no > ? location > virtual:/var/mail/real:INDEX=/var/lib/dovecot/db/indexes/real/%u > ? ignore_on_failure = no > } > ? > Thunderbird and doveadm shows me now all Mailboxes from the > Real-Namespace: > # doveadm mailbox list -u jakob|grep Real > Real > Real/Archiv_zweijahr > Real/halbjahr > Real/Archiv > Real/einmonat > Real/zweimonat > Real/dreijahr > Real/zweijahr > Real/einjahr > Real/Alle > ? > The dovecot-virtual from Real/Alle is > /var/mail/real: # cat Alle/dovecot-virtual > !INBOX > INBOX/* > -INBOX/Trash > -INBOX/Trash/* > -INBOX/Archives > -INBOX/Archives/* > -INBOX/Drafts > -INBOX/Drafts/* > -INBOX/Junk > -INBOX/Junk/* > -INBOX/SYSTEM > -INBOX/SYSTEM/* > ?all > ? > ? > When i try to open a Mailbox from them in Thunderbird i get this error > in my logs (for example i opened Alle): > 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> > 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) > 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(+ > 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 > 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 > 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 > 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. > 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 > 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 > 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/ > 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 > 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) > [0x55ab6bfb016a] > Jul 26 11:33:45 aldebaran dovecot[14873]: > imap(jakob)<17347><scQAseNxo3NcPAkS>: Fatal: master: service(imap): > child 17347 killed with signal 6 (core dumped) > 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> > 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) > 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(+ > 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 > 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 > 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 > 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. > 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 > 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 > 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/ > 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 > 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) > [0x5571315fe16a] > Jul 26 11:33:45 aldebaran dovecot[14873]: > imap(jakob)<17349><RKUIseNxpHNcPAkS>: Fatal: master: service(imap): > child 17349 killed with signal 6 (core dumped) > ? > ? > Jakob > *Gesendet:*?Donnerstag, 26. Juli 2018 um 11:26 Uhr > *Von:*?"Aki Tuomi" <aki.tuomi at dovecot.fi> > *An:*?wertstoffe at nurfuerspam.de, dovecot at dovecot.org > *Betreff:*?Re: Aw: Re: Panic: Leaked view for index - virtual mailbox > > I am pretty sure Synoptic/INBOX/Archives will not be same as > INBOX/Archives. > > a SELECT Synoptic/INBOX/Archives > a NO Mailbox doesn't exist: Synoptic/INBOX/Archives (0.001 + 0.000 secs). > ? > > a SELECT INBOX/Archives > * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) > * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] > Flags permitted. > * 45 EXISTS > > 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. > > I took a stab at reproducing your issue, but so far no luck. I have to > try including the Archiv namespace as well. > > Aki > ? > On 26.07.2018 12:01, wertstoffe at nurfuerspam.de wrote: > > Hello! > ? > (and sorry for double mailings... i have some troubles with my > mailprovider 1&1... :-/ ) > 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. > > There is one Namespace "Real" with according Folder in /var/mail/real. > 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) > > /var/mail/real: # l > insgesamt 0 > drwxr-sr-x 1 vmail vmail 30 Jul 12 17:47 Alle > drwxr-sr-x 1 vmail vmail 30 Jul 10 00:06 Archiv > drwxr-sr-x 1 vmail vmail 30 Jul 10 00:06 Archiv_zweijahr > -rw-r--r-- 1 vmail vmail? 0 Nov 27? 2017 dovecot-acl-list > drwxr-sr-x 1 vmail vmail 30 Jul 12 11:06 dreijahr > drwxr-sr-x 1 vmail vmail 30 Jul 12 11:06 einjahr > drwxr-sr-x 1 vmail vmail 30 Jul 10 00:06 einmonat > drwxr-sr-x 1 vmail vmail 30 Jul 12 17:46 halbjahr > drwxr-sr-x 1 vmail vmail 30 Jul 12 11:06 zweijahr > drwxr-sr-x 1 vmail vmail 30 Jul 10 00:06 zweimonat > > For example: > /var/mail/real: # cat Alle/dovecot-virtual > !INBOX > INBOX/* > -INBOX/Trash > -INBOX/Trash/* > -INBOX/Archives > -INBOX/Archives/* > -INBOX/Drafts > -INBOX/Drafts/* > -INBOX/Junk > -INBOX/Junk/* > -INBOX/SYSTEM > -INBOX/SYSTEM/* > ?all > > The "All-Mailbox" for only one year: > /var/mail/real: # cat einjahr/dovecot-virtual > !Real/Alle > ?all younger 31536000 > > 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. > > and the Archiv: > /var/mail/real: # cat Archiv/dovecot-virtual > Archiv/* > ?all > > 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. > > /var/mail/virtual: # cat AKTUELL/dovecot-virtual > !Real/halbjahr > ?all > > /var/mail/virtual: # cat ARCHIV/dovecot-virtual > Archiv > Archiv/* > ?all younger 1261440000 > > /var/mail/virtual: # cat Ungelesene/dovecot-virtual > Real/Alle > ?unseen > > /var/mail/virtual: # cat Sent/dovecot-virtual > !INBOX/Sent > INBOX/Sent/* > ?all > > and the Namespace "Archive" is located in > /var/mail/archiv > ?and contains all archieved emails. (There are really a lot Emails). > I declare this Namespace as "Special Folder", so Thunderbird picks > it up as the Archive-Folder for automatic archieving old emails. > > The thing is, I get the error on the "Alle", "Send", > "ungelesene"... Mailboxes. The Archiv-Mailbox is working correctly! > > 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. > 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!! > > 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. > > > The Gmail-App handles different Namespaces at the same time, but > cannot handle different Identities. > K9Mail can handle different Identities (for Alias-Emailadresses) > for the same Account, but only one Namespace... > > Jakob > ? >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180726/1a3a5838/attachment-0001.html>