Re: Panic: Leaked view for index - virtual mailbox

2018-07-25 Thread Aki Tuomi
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
> 
> 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:
> .
> Find the GDB manual and other documentation resources online at:
> .
> 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  0x7f5c8ac4cf3b in ?? ()
> (gdb) bt full
> #0  0x7f5c8ac4cf3b in ?? ()
> No symbol table info available.
> #1  0x 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 
>>> 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  wrote:
>
>
> Hi!
>
> Which debian release is this?
>
> Aki
>
>> On 25 July 2018 at 05:18 Jakobus Schürz
>>  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>: 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>: 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] ->
>>

Re: dsync: expunge from pop3 does not replicate

2018-07-25 Thread Aki Tuomi
Can you try enabling mail_debug=yes, perform a pop3 session and provide
logs?

Aki


On 25.07.2018 15:53, Jakub Lánský wrote:
> Here is it
>
> # 2.3.2.1 (0719df592): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.5.2 (5d6d7c92)
> # OS: Linux 4.4.0-112-generic x86_64 Ubuntu 16.04.4 LTS 
> # Hostname: mda22
> auth_cache_negative_ttl = 2 secs
> auth_cache_size = 16 M
> auth_cache_ttl = 1 mins
> auth_master_user_separator = /
> auth_mechanisms = plain login
> auth_verbose = yes
> default_client_limit = 2000
> default_process_limit = 2000
> default_vsz_limit = 16894 M
> deliver_log_format = %m %f/%e %s -> %e %p: %$
> dict {
>   sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
>   sqlsieve = mysql:/etc/dovecot/dovecot-dict-sqlsieve.conf.ext
> }
> disable_plaintext_auth = no
> doveadm_password =  # hidden, use -P to show it
> imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags
> lda_mailbox_autocreate = yes
> lda_mailbox_autosubscribe = yes
> lmtp_rcpt_check_quota = yes
> login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c
> login_trusted_networks = 10.3.13.0/24 10.3.14.0/24
> mail_gid = nogroup
> mail_home = /datastore/maildir/%d/%n
> mail_location = maildir:~/
> mail_plugins = " quota mail_log notify old_stats replication"
> mail_uid = nobody
> maildir_copy_with_hardlinks = no
> managesieve_notify_capability = mailto
> managesieve_sieve_capability = fileinto reject envelope encoded-character 
> vacation subaddress comparator-i;ascii-numeric relational regex imap4flags 
> copy include variables body enotify environment mailbox date index ihave 
> duplicate mime foreverypart extracttext
> namespace inbox {
>   inbox = yes
>   location = 
>   mailbox Archive {
> auto = subscribe
> special_use = \Archive
>   }
>   mailbox Drafts {
> auto = subscribe
> special_use = \Drafts
>   }
>   mailbox Inbox {
> auto = subscribe
>   }
>   mailbox Junk {
> auto = subscribe
> special_use = \Junk
>   }
>   mailbox Sent {
> auto = subscribe
> special_use = \Sent
>   }
>   mailbox Trash {
> auto = subscribe
> special_use = \Trash
>   }
>   prefix = 
>   subscriptions = yes
>   type = private
> }
> passdb {
>   args = /etc/dovecot/master-users
>   driver = passwd-file
>   master = yes
>   pass = yes
> }
> passdb {
>   args = /etc/dovecot/dovecot-sql.conf.ext
>   driver = sql
> }
> plugin {
>   mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
>   mail_log_fields = box msgid from subject size
>   mail_replica = tcp:10.3.13.51:54321
>   old_stats_command_min_time = 1 mins
>   old_stats_domain_min_time = 12 hours
>   old_stats_ip_min_time = 12 hours
>   old_stats_memory_limit = 16 M
>   old_stats_refresh = 30 secs
>   old_stats_session_min_time = 15 mins
>   old_stats_track_cmds = yes
>   old_stats_user_min_time = 1 hours
>   quota = dict:User quota::proxy::sqlquota
>   quota_exceeded_message = Storage quota for this account has been exceeded, 
> please try again later.
>   quota_grace = 50%%
>   quota_warning = storage=95%% quota-warning 95 %u %d size
>   quota_warning2 = messages=95%% quota-warning 95 %u %d count
>   recipient_delimiter = +
>   sieve = 
> file:/datastore/sieve/%d/%n/;active=/datastore/sieve/%d/%n/active.sieve
>   sieve_before = 
> dict:proxy::sqlsieve;name=before_inbox_forward;bindir=/datastore/sieve/%d/%n/
>   sieve_max_actions = 32
>   sieve_max_redirects = 50
>   sieve_max_script_size = 1M
>   sieve_redirect_envelope_from = recipient
>   sieve_user_log = /datastore/sieve/%d/%n/.sieve.log
> }
> pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
> pop3_reuse_xuidl = yes
> pop3_save_uidl = yes
> protocols = " imap lmtp sieve pop3 sieve"
> replication_max_conns = 100
> service aggregator {
>   fifo_listener replication-notify-fifo {
> mode = 0666
> user = nobody
>   }
>   unix_listener replication-notify {
> mode = 0666
> user = nobody
>   }
> }
> service auth {
>   inet_listener {
> port = 12345
> ssl = yes
>   }
> }
> service dict {
>   unix_listener dict {
> group = nogroup
> user = nobody
>   }
> }
> service doveadm {
>   inet_listener {
> port = 54321
> ssl = no
>   }
> }
> service imap-login {
>   process_limit = 32
>   process_min_avail = 8
>   service_count = 0
> }
> service imap {
>   process_limit = 16384
> }
> service lmtp {
>   executable = lmtp -L
>   inet_listener lmtp {
> port = 24
> ssl = no
>   }
>   process_min_avail = 5
> }
> service managesieve-login {
>   inet_listener sieve {
> port = 4190
>   }
>   process_min_avail = 2
>   service_count = 1
>   vsz_limit = 196 M
> }
> service managesieve {
>   process_limit = 2048
> }
> service old-stats {
>   fifo_listener old-stats-mail {
> mode = 0666
> user = nobody
>   }
>   inet_listener {
> address = 127.0.0.1
> port = 24242
>   }
> }
> service pop3 {
>   process_limit = 2048
> }
> service quota-warning {
>   executable = script /etc/dovecot/quota-warning.sh
>   

Re: doveadm who reverse dns lookups

2018-07-25 Thread Joseph Tam

On Tue, 24 Jul 2018, Michael Grant wrote:


However, it would definitely save me a step in figuring out where
someone was logged in from to know if it?s legit.


Or not.  The IP address being logged is reliable, the PTR lookup is in the
hands of that zone's DNS operators, who could spoof any FQDN they want.
If you're concentrating on one/few case(s), it's worth deep diving.
If you're analyzing an entire log file, use a script.

Joseph Tam 


Re: doveadm expunge didn't clear Trash mailbox

2018-07-25 Thread Michael Wagner
Hello Joseph,

On Jul 24, 2018 um 13:12:05, Joseph Tam wrote:
> On Mon, 23 Jul 2018, Michael Wagner wrote:
> 
> > here works a dovecot 2.2.27 on a raspberrypi and the behaviour is as
> > expected.
> > 
> > doveadm -f tab fetch -u  "uid date.saved" mailbox Trash
> > uid date.saved
> > 314 2018-06-23 00:35:59
> > 315 2018-06-23 12:39:10
> > 316 2018-06-24 10:32:43
> > ...
> > 
> > And I have a cron script that expunges the mails older than 30 days.
> > /usr/bin/doveadm expunge -u  mailbox Trash savedbefore 30d
> 
> Thanks for your observation.  I think you probably use maildir format,
> yes?
> 
> I think my problem stems from the fact I use mbox, so one file contains
> many messages, whereas maildir uses one file for each message.  Dovecot,
> from my understanding, will use the message file's mtime for date.saved
> if it doesn't have it in the cached.  This is probably why I am seeing
> multiple messages with the same value.

yes, I use here the maildir format and I think you are right that 
dovecot uses the mtime and this is set every time when you write to the 
mbox file. If you use linux, you can use mb2md for the converting to 
maildir.

apt show mb2md
Description: Convert Mbox mailboxes to Maildir format
 mb2md (mbox to maildir) takes one or more Mbox format mailbox files
 in a directory and convert them to Maildir format mailboxes.

 As the Mbox format has some drawbacks, D. J. Bernstein created the
 Maildir format when he wrote Qmail. With the Mbox format all mail of
 a specific folder is stored as one large text file. The Maildir
 format stores each mail as a separate file. It is a faster and more
 efficient way to store mail. It works particularly well over NFS,
 which has a long history of locking-related woes.

 The Mbox format is used by many POP3/IMAP servers, most mail servers
 (MTAs) and mail readers (MUAs). The Maildir format is used by Qmail,
 Courier-MTA and can be also used as a alternative mail storage format
 by Postfix and Exim or any MTA which can use procmail as
 MDA. POP3/IMAP servers which support Maildirs are e.g. Courier IMAP
 and Dovecot.

 mb2md does not only convert Mbox mailbox files into a Maildir but can
 also convert the /var/spool/mail/$USER mailspool file. It is smart
 enough to not transfer a dummy message such as the UW IMAPD puts at
 the start of Mbox mailboxes - and you could add your own search terms
 into the script to make it ignore other forms of dummy first message.

I never repented the converting to maildir.

Michael

PS: Sorry for the mail I sent private to you, it was a misconfiguration 
of mutt.

-- 
BOFH excuse #446:
Mailer-daemon is busy burning your message in hell.


signature.asc
Description: PGP signature


Re: Panic: Leaked view for index - virtual mailbox

2018-07-25 Thread Jakobus Schürz

Hi Aki!
Sorry. Here is the right output.


# gdb /usr/local/libexec/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 


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:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/libexec/dovecot/imap...(no debugging 
symbols found)...done.

[New LWP 24491]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `dovecot/imap [jakob 213'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51  ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht 
gefunden.

(gdb) bt full
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
    set = {__val = {0, 140735982403592, 140035444961075, 
2331576704, 12138802451775488, 140035444733018, 206158430240, 4096, 
140735982403592, 94124639053616, 4096, 443744500087950336, 2389, 2380, 2381,

    94124639053616}}
    pid = 
    tid = 
    ret = 
#1  0x7f5c8ac4e2f1 in __GI_abort () at abort.c:79
    save_stage = 1
    act = {__sigaction_handler = {sa_handler = 0x33580, 
sa_sigaction = 0x33580}, sa_mask = {__val = {2048, 140035446034307, 
140035441399298, 140035443714067, 140035445631889, 140035441273723,
  140035445630673, 94124639049440, 443744500087950336, 512, 
140035444801458, 140735982404016, 94124639049440, 140735982404016, 
140035444801849, 94124639049440}}, sa_flags = -1964120006,

  sa_restorer = 0x5}
    sigs = {__val = {32, 0 }}
#2  0x7f5c8aee5daf in ?? () from /usr/local/lib/dovecot/libdovecot.so.0
No symbol table info available.
#3  0x7f5c8aee5eba in ?? () from /usr/local/lib/dovecot/libdovecot.so.0
No symbol table info available.
#4  0x7f5c8ae53fe8 in i_panic () from 
/usr/local/lib/dovecot/libdovecot.so.0

No symbol table info available.
#5  0x7f5c8b08b028 in ?? () from 
/usr/local/lib/dovecot/libdovecot-storage.so.0

No symbol table info available.
#6  0x7f5c8b06272a in index_storage_mailbox_close () from 
/usr/local/lib/dovecot/libdovecot-storage.so.0

No symbol table info available.
#7  0x7f5c8afe01aa in mailbox_close () from 
/usr/local/lib/dovecot/libdovecot-storage.so.0

No symbol table info available.
#8  0x7f5c8abb7b80 in ?? () from 
/usr/local/lib/dovecot/lib20_virtual_plugin.so

No symbol table info available.
#9  0x7f5c8abb7d3b in virtual_backend_box_open () from 
/usr/local/lib/dovecot/lib20_virtual_plugin.so

No symbol table info available.
#10 0x7f5c8abbaf19 in virtual_storage_sync_init () from 
/usr/local/lib/dovecot/lib20_virtual_plugin.so

No symbol table info available.
#11 0x7f5c8afe26d1 in mailbox_sync_init () from 
/usr/local/lib/dovecot/libdovecot-storage.so.0

No symbol table info available.
#12 0x7f5c8afe2787 in mailbox_sync () from 
/usr/local/lib/dovecot/libdovecot-storage.so.0

No symbol table info available.
#13 0x7f5c8b060ed1 in index_storage_get_status () from 
/usr/local/lib/dovecot/libdovecot-storage.so.0

No symbol table info available.
#14 0x7f5c8abb6ead in ?? () from 
/usr/local/lib/dovecot/lib20_virtual_plugin.so

No symbol table info available.
#15 0x7f5c8b044f83 in ?? () from 
/usr/local/lib/dovecot/libdovecot-storage.so.0

No symbol table info available.
#16 0x7f5c8abd9602 in ?? () from 
/usr/local/lib/dovecot/lib20_fts_plugin.so

No symbol table info available.
#17 0x7f5c8ae0e813 in ?? () from 
/usr/local/lib/dovecot/lib01_acl_plugin.so

No symbol table info available.
#18 0x7f5c8afe2b91 in mailbox_get_status () from 
/usr/local/lib/dovecot/libdovecot-storage.so.0

No symbol table info available.
#19 0x7f5c8abbab7b in virtual_storage_sync_init () from 
/usr/local/lib/dovecot/lib20_virtual_plugin.so

No symbol table info available.
#20 0x7f5c8afe26d1 in mailbox_sync_init () from 
/usr/local/lib/dovecot/libdovecot-storage.so.0

No symbol table info available.
#21 0x7f5c8afe2787 in mailbox_sync () from 
/usr/local/lib/dovecot/libdovecot-storage.so.0

No symbol table info available.
#22 0x7f5c8b060ed1 in index_storage_get_status () from 
/usr/local/lib/dovecot/libdovecot-storage.so.0

No symbol table info available.
#23 0x7f5c8abb6ead in ?? () from 
/usr/local/lib/dovecot/lib20_virtual_plugin.so

No symbol table info available.
#24 0

Re: Panic: Leaked view for index - virtual mailbox

2018-07-25 Thread Jakob Schuerz
 


Hi Aki!
Sorry. Here is the right output.

 

# gdb /usr/local/libexec/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 
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:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/libexec/dovecot/imap...(no debugging symbols found)...done.
[New LWP 24491]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `dovecot/imap [jakob 213'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51  ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
    set = {__val = {0, 140735982403592, 140035444961075, 2331576704, 12138802451775488, 140035444733018, 206158430240, 4096, 140735982403592, 94124639053616, 4096, 443744500087950336, 2389, 2380, 2381,
    94124639053616}}
    pid = 
    tid = 
    ret = 
#1  0x7f5c8ac4e2f1 in __GI_abort () at abort.c:79
    save_stage = 1
    act = {__sigaction_handler = {sa_handler = 0x33580, sa_sigaction = 0x33580}, sa_mask = {__val = {2048, 140035446034307, 140035441399298, 140035443714067, 140035445631889, 140035441273723,
  140035445630673, 94124639049440, 443744500087950336, 512, 140035444801458, 140735982404016, 94124639049440, 140735982404016, 140035444801849, 94124639049440}}, sa_flags = -1964120006,
  sa_restorer = 0x5}
    sigs = {__val = {32, 0 }}
#2  0x7f5c8aee5daf in ?? () from /usr/local/lib/dovecot/libdovecot.so.0
No symbol table info available.
#3  0x7f5c8aee5eba in ?? () from /usr/local/lib/dovecot/libdovecot.so.0
No symbol table info available.
#4  0x7f5c8ae53fe8 in i_panic () from /usr/local/lib/dovecot/libdovecot.so.0
No symbol table info available.
#5  0x7f5c8b08b028 in ?? () from /usr/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#6  0x7f5c8b06272a in index_storage_mailbox_close () from /usr/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#7  0x7f5c8afe01aa in mailbox_close () from /usr/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#8  0x7f5c8abb7b80 in ?? () from /usr/local/lib/dovecot/lib20_virtual_plugin.so
No symbol table info available.
#9  0x7f5c8abb7d3b in virtual_backend_box_open () from /usr/local/lib/dovecot/lib20_virtual_plugin.so
No symbol table info available.
#10 0x7f5c8abbaf19 in virtual_storage_sync_init () from /usr/local/lib/dovecot/lib20_virtual_plugin.so
No symbol table info available.
#11 0x7f5c8afe26d1 in mailbox_sync_init () from /usr/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#12 0x7f5c8afe2787 in mailbox_sync () from /usr/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#13 0x7f5c8b060ed1 in index_storage_get_status () from /usr/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#14 0x7f5c8abb6ead in ?? () from /usr/local/lib/dovecot/lib20_virtual_plugin.so
No symbol table info available.
#15 0x7f5c8b044f83 in ?? () from /usr/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#16 0x7f5c8abd9602 in ?? () from /usr/local/lib/dovecot/lib20_fts_plugin.so
No symbol table info available.
#17 0x7f5c8ae0e813 in ?? () from /usr/local/lib/dovecot/lib01_acl_plugin.so
No symbol table info available.
#18 0x7f5c8afe2b91 in mailbox_get_status () from /usr/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#19 0x7f5c8abbab7b in virtual_storage_sync_init () from /usr/local/lib/dovecot/lib20_virtual_plugin.so
No symbol table info available.
#20 0x7f5c8afe26d1 in mailbox_sync_init () from /usr/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#21 0x7f5c8afe2787 in mailbox_sync () from /usr/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#22 0x7f5c8b060ed1 in index_storage_get_status () from /usr/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#23 0x7f5c8abb6ead in ?? () from /usr/local/lib/dovecot/lib20_virtual_plugin.so
No symbol table info available.
#24 0x7f5c8b044f83 in ?? () from /usr/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#25 0x7f5c8abd9602 in ?? () from /usr/local/lib/dovecot

Re: dsync: expunge from pop3 does not replicate

2018-07-25 Thread Jakub Lánský
Here is it

# 2.3.2.1 (0719df592): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.2 (5d6d7c92)
# OS: Linux 4.4.0-112-generic x86_64 Ubuntu 16.04.4 LTS 
# Hostname: mda22
auth_cache_negative_ttl = 2 secs
auth_cache_size = 16 M
auth_cache_ttl = 1 mins
auth_master_user_separator = /
auth_mechanisms = plain login
auth_verbose = yes
default_client_limit = 2000
default_process_limit = 2000
default_vsz_limit = 16894 M
deliver_log_format = %m %f/%e %s -> %e %p: %$
dict {
  sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
  sqlsieve = mysql:/etc/dovecot/dovecot-dict-sqlsieve.conf.ext
}
disable_plaintext_auth = no
doveadm_password =  # hidden, use -P to show it
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lmtp_rcpt_check_quota = yes
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c
login_trusted_networks = 10.3.13.0/24 10.3.14.0/24
mail_gid = nogroup
mail_home = /datastore/maildir/%d/%n
mail_location = maildir:~/
mail_plugins = " quota mail_log notify old_stats replication"
mail_uid = nobody
maildir_copy_with_hardlinks = no
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date index ihave duplicate 
mime foreverypart extracttext
namespace inbox {
  inbox = yes
  location = 
  mailbox Archive {
auto = subscribe
special_use = \Archive
  }
  mailbox Drafts {
auto = subscribe
special_use = \Drafts
  }
  mailbox Inbox {
auto = subscribe
  }
  mailbox Junk {
auto = subscribe
special_use = \Junk
  }
  mailbox Sent {
auto = subscribe
special_use = \Sent
  }
  mailbox Trash {
auto = subscribe
special_use = \Trash
  }
  prefix = 
  subscriptions = yes
  type = private
}
passdb {
  args = /etc/dovecot/master-users
  driver = passwd-file
  master = yes
  pass = yes
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = box msgid from subject size
  mail_replica = tcp:10.3.13.51:54321
  old_stats_command_min_time = 1 mins
  old_stats_domain_min_time = 12 hours
  old_stats_ip_min_time = 12 hours
  old_stats_memory_limit = 16 M
  old_stats_refresh = 30 secs
  old_stats_session_min_time = 15 mins
  old_stats_track_cmds = yes
  old_stats_user_min_time = 1 hours
  quota = dict:User quota::proxy::sqlquota
  quota_exceeded_message = Storage quota for this account has been exceeded, 
please try again later.
  quota_grace = 50%%
  quota_warning = storage=95%% quota-warning 95 %u %d size
  quota_warning2 = messages=95%% quota-warning 95 %u %d count
  recipient_delimiter = +
  sieve = 
file:/datastore/sieve/%d/%n/;active=/datastore/sieve/%d/%n/active.sieve
  sieve_before = 
dict:proxy::sqlsieve;name=before_inbox_forward;bindir=/datastore/sieve/%d/%n/
  sieve_max_actions = 32
  sieve_max_redirects = 50
  sieve_max_script_size = 1M
  sieve_redirect_envelope_from = recipient
  sieve_user_log = /datastore/sieve/%d/%n/.sieve.log
}
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
pop3_reuse_xuidl = yes
pop3_save_uidl = yes
protocols = " imap lmtp sieve pop3 sieve"
replication_max_conns = 100
service aggregator {
  fifo_listener replication-notify-fifo {
mode = 0666
user = nobody
  }
  unix_listener replication-notify {
mode = 0666
user = nobody
  }
}
service auth {
  inet_listener {
port = 12345
ssl = yes
  }
}
service dict {
  unix_listener dict {
group = nogroup
user = nobody
  }
}
service doveadm {
  inet_listener {
port = 54321
ssl = no
  }
}
service imap-login {
  process_limit = 32
  process_min_avail = 8
  service_count = 0
}
service imap {
  process_limit = 16384
}
service lmtp {
  executable = lmtp -L
  inet_listener lmtp {
port = 24
ssl = no
  }
  process_min_avail = 5
}
service managesieve-login {
  inet_listener sieve {
port = 4190
  }
  process_min_avail = 2
  service_count = 1
  vsz_limit = 196 M
}
service managesieve {
  process_limit = 2048
}
service old-stats {
  fifo_listener old-stats-mail {
mode = 0666
user = nobody
  }
  inet_listener {
address = 127.0.0.1
port = 24242
  }
}
service pop3 {
  process_limit = 2048
}
service quota-warning {
  executable = script /etc/dovecot/quota-warning.sh
  unix_listener quota-warning {
mode = 0666
user = nobody
  }
  user = nobody
}
service replicator {
  process_min_avail = 1
  unix_listener replicator-doveadm {
mode = 0666
user = nobody
  }
}
service stats {
  idle_kill = 5 mins
  unix_listener stats-reader {
group = nogroup
mode = 0666
user = nobody
  }
  unix_listener stats-writer {
group = nogroup
mode = 0666
user = nobody
  }
}
ssl_cert = 
Komu: Jakub Lánský , dovecot@dovecot.org
Předmět: Re: ds

Re: dsync: expunge from pop3 does not replicate

2018-07-25 Thread Aki Tuomi
Please provide doveconf -n


---Aki TuomiDovecot oy
 Original message From: Jakub Lánský  Date: 
25/07/2018  11:37  (GMT+02:00) To: dovecot@dovecot.org Subject: dsync: expunge 
from pop3 does not replicate 
Hi,

I'm using dovecot 2.3.2.1 on Xenial from upstream packages on two
Dovecot servers connected with dsync over TCP.

E-mails which are deleted via POP3 protocol are not correctly deleted
on second server via dsync.

Jul 25 09:29:19 mda11 dovecot: 
pop3(jakub@***)<7587><8xaJ1c1x9uEqAB7QADwAAL7v>: expunge: box=INBOX, 
msgid=<6a75db5d84ff257216a4340d7c040...@blesmrt.eu>, size=3238, from=lenny@***, 
subject=dovecot pop3 test

Nothing happened on the second machine then.

After running # doveadm replicator replicate "jakub@***", e-mail got
expunged immediately on second server.

Jul 25 09:50:56 mda22 dovecot: dsync-local(jakub@***): 
expunge: box=INBOX, msgid=<6a75db5d84ff257216a4340d7c040...@blesmrt.eu>, 
size=3238, from=lenny@***, subject=dovecot pop3 test

Any ideas what to do or test?

Thank you


-- 
Jakub Lánský

IT administration/support technician
ja...@lansky.biz
GSM: +420776172737
Jabber/GTalk: le...@blesmrt.net



dsync: expunge from pop3 does not replicate

2018-07-25 Thread Jakub Lánský
Hi,

I'm using dovecot 2.3.2.1 on Xenial from upstream packages on two
Dovecot servers connected with dsync over TCP.

E-mails which are deleted via POP3 protocol are not correctly deleted
on second server via dsync.

Jul 25 09:29:19 mda11 dovecot: 
pop3(jakub@***)<7587><8xaJ1c1x9uEqAB7QADwAAL7v>: expunge: box=INBOX, 
msgid=<6a75db5d84ff257216a4340d7c040...@blesmrt.eu>, size=3238, from=lenny@***, 
subject=dovecot pop3 test

Nothing happened on the second machine then.

After running # doveadm replicator replicate "jakub@***", e-mail got
expunged immediately on second server.

Jul 25 09:50:56 mda22 dovecot: dsync-local(jakub@***): 
expunge: box=INBOX, msgid=<6a75db5d84ff257216a4340d7c040...@blesmrt.eu>, 
size=3238, from=lenny@***, subject=dovecot pop3 test

Any ideas what to do or test?

Thank you


-- 
Jakub Lánský

IT administration/support technician
ja...@lansky.biz
GSM: +420776172737
Jabber/GTalk: le...@blesmrt.net



Re: Panic: Leaked view for index - virtual mailbox

2018-07-25 Thread Aki Tuomi
Try running gdb again with corrected path for imap binary


---Aki TuomiDovecot oy
 Original message From: Jakobus Schürz 
 Date: 25/07/2018  10:46  (GMT+02:00) To: 
dovecot@dovecot.org Subject: Re: Panic: Leaked view for index - virtual mailbox 
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 

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:
.
Find the GDB manual and other documentation resources online at:
.
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  0x7f5c8ac4cf3b in ?? ()
(gdb) bt full
#0  0x7f5c8ac4cf3b in ?? ()
No symbol table info available.
#1  0x 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  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  wrote:


 Hi!

 Which debian release is this?

 Aki

> On 25 July 2018 at 05:18 Jakobus Schürz  
> 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>: 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>: 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

Re: Panic: Leaked view for index - virtual mailbox

2018-07-25 Thread Jakobus Schürz

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 


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:
.
Find the GDB manual and other documentation resources online at:
.
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  0x7f5c8ac4cf3b in ?? ()
(gdb) bt full
#0  0x7f5c8ac4cf3b in ?? ()
No symbol table info available.
#1  0x 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  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  wrote:


Hi!

Which debian release is this?

Aki


On 25 July 2018 at 05:18 Jakobus Schürz  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>: 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>: 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

Re: Panic: Leaked view for index - virtual mailbox

2018-07-25 Thread 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  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  wrote:
> >>
> >>
> >> Hi!
> >>
> >> Which debian release is this?
> >>
> >> Aki
> >>
> >>> On 25 July 2018 at 05:18 Jakobus Schürz  
> >>> 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>: 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>: 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>: 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
> >>> 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    24