doveadm-backup verbosity?

2015-11-27 Thread Andreas Fischer

Hi,

according to the man page doveadm-backup, the verbosity switch "-v" 
should do the following: "Enables verbosity, including progress counter"


However, i see no difference running the following command with or 
without the "-v" switch:


>>doveadm -v backup -R -A remote:myhost

The command itself works without problem, two mailboxes are correctly 
back-upped, but the output is only an empty line. Not sure if this is 
expected behavior.


Regards

# 2.2.19: /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.9 (357ac0a0e68b+)
# OS: Linux 4.2.5-1-ARCH x86_64
dsync_remote_cmd = ssh -p 19022 -l root %{host} doveadm dsync-server -u%u
first_valid_uid = 99
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 editheader

passdb {
  args = nopassword=y
  driver = static
}
plugin {
  sieve = file:~/sieve;active=~/.dovecot.sieve
  sieve_extensions = +editheader
}
protocols =
service anvil {
  process_min_avail = 0
  unix_listener anvil-auth-penalty {
mode = 064
  }
}
ssl = no
userdb {
  args = /etc/dovecot/users
  default_fields = uid=nobody gid=nobody home=/backup/tmp/mail/%d/%n 
mail=sdbox:~/box

  driver = passwd-file
}


[bt full included] imap-login: Panic: file client-common.c: line 272 (client_destroy): assertion failed: (client->create_finished)

2018-02-19 Thread Andreas Fischer

Hi,

as discussed with cmouse on freenode two days ago please find attached 
necessary debug information on a crashing imap-login process, that 
appeared after upgrading to v2.3 (+ sieve). It is a standard setup in 
combination with postfix and thunderbird, roundcube and K9(Android) as 
imap clients. Panic happens 5-6 times a day, but no influence on user 
experience. Unfortunately i have no idea what might be causing it.


Let me know if you need more information.

Andreas

syslog: Feb 19 21:09:37 hafnium.d9c.eu dovecot[14324]: imap-login: 
Fatal: master: service(imap-login): child 30653 killed with signal 6 
(core dumped)


dovecot.log:
Feb 19 20:57:07 imap(u...@d9c.eu)<30655><7C/91pVl0q3CJ7cC>: Info: 
Connection closed (IDLE running for 0.001 + waiting input for 1109.126 
secs, 2 B in + 10 B out, state=wait-input) in=699 out=
Feb 19 20:57:24 imap(u...@d9c.eu)<30656>: Info: 
Connection closed (IDLE running for 0.001 + waiting input for 1123.798 
secs, 2 B in + 10 B out, state=wait-input) in=91 out=1
Feb 19 21:02:15 imap(u...@d9c.eu)<30999>: Info: 
Connection closed (IDLE running for 0.001 + waiting input for 1143.235 
secs, 2 B in + 10 B out, state=wait-input) in=686 out=
Feb 19 21:02:23 imap(u...@d9c.eu)<30998><5B5v55VlJqrDJbhD>: Info: 
Connection closed (IDLE running for 0.001 + waiting input for 1147.566 
secs, 2 B in + 10 B out, state=wait-input) in=99 out=1
Feb 19 21:08:36 imap(u...@d9c.eu)<30657>: Info: 
Disconnected for inactivity in=91 out=919 deleted=0 expunged=0 trashed=0 
hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 19 21:08:37 imap(u...@d9c.eu)<30658>: Info: 
Disconnected for inactivity in=719 out=5345 deleted=0 expunged=0 
trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0



dovecot -n

# 2.3.0 (c8b89eb): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.0.1 (d33dca20)
# OS: Linux 4.15.3-2-ARCH x86_64
auth_debug = yes
auth_mechanisms = plain login
auth_verbose = yes
debug_log_path = /var/log/dovecot-debug.log
info_log_path = /var/log/dovecot.log
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c 
%k

mail_gid = vmail
mail_home = /app/vmail/%d/%n
mail_location = sdbox:%h/sdbox
mail_plugins = " quota"
mail_uid = vmail
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 editheader

mdbox_rotate_interval = 1 days
mdbox_rotate_size = 8 M
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
special_use = \Drafts
  }
  mailbox Junk {
special_use = \Junk
  }
  mailbox Sent {
special_use = \Sent
  }
  mailbox "Sent Messages" {
special_use = \Sent
  }
  mailbox Trash {
special_use = \Trash
  }
  prefix =
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  quota = dict:user::file:%h/mdbox/dovecot-quota
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_extensions = +editheader
}
protocols = imap pop3 lmtp sieve
service auth-worker {
  user = $default_internal_user
}
service auth {
  unix_listener /var/spool/postfix-sasl/private/auth {
group = postfix
mode = 0660
user = postfix
  }
}
service imap-login {
  chroot =
  executable = imap-login -D
  inet_listener imap {
port = 143
  }
  inet_listener imaps {
port = 0
  }
  service_count = 0
}
service lmtp {
  unix_listener /var/spool/postfix-mail/private/dovecot-lmtp {
group = postfix
mode = 0660
user = postfix
  }
}
service managesieve-login {
  inet_listener sieve {
port = 4190
  }
  process_min_avail = 1
}
service pop3-login {
  inet_listener pop3 {
port = 0
  }
  inet_listener pop3s {
port = 995
ssl = yes
  }
}
ssl = required
ssl_cert = ssl_cipher_list = 
ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256

ssl_dh =  # hidden, use -P to show it
ssl_key =  # hidden, use -P to show it
ssl_min_protocol = TLSv1.2
ssl_prefer_server_ciphers = yes
userdb {
  driver = prefetch
}
userdb {
  driver = static
}
protocol lmtp {
  mail_plugins = " quota sieve"
}
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep
  mail_max_userip_connections = 25
  mail_plugins = " quota imap_quota"
}


(gdb) bt full
#0  0x7fddd9433860 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#1  0x7fddd9434ec9 in abort () from /usr/lib/libc.so.6
No symbol table info available.
#2  0x7fddd987a521 in default_fatal_finish (type=LOG_TYPE_PANIC, 
status=status@entry=0) at failures.c:228
backtrace = 0x561a9c8612f0 
"/usr/lib/dovecot/libdovecot.so.0(+0xc4567) [0x7fddd987a567] -> 
/usr/lib/dovecot/libdovecot.so.0(+0xc462a) [0x7fddd987a62a] -> 
/usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fddd97e9df9] -> 
/usr/lib/d"...

recursed = 0
#3