Hi,

I still have the same problem/message. I've got no answer from my previous mail.

It happens generally when the list server send multiple messages in a small amount of time.
130 mails failed, 200 ok.

Should it be a config problem, an OS problem or anything else ?
It runs on Debian buster.

I run the latest version (from dovecot repo)
I upgraded this morning to 2.3.13 and the problem is still there :

Jan  4 15:57:18 mx.igf.cnrs.fr dovecot: lda(sophie.nicole)<13773><i9OENcws81/NNQAAmSH/vg>: Error: i_stream_seekable_write_failed: close((&sstream->fd)) @ istream-seekable.c:251 failed (fd=9): Bad file descriptor
Jan  4 15:57:18 mx.igf.cnrs.fr dovecot: lda(sophie.nicole)<13773><i9OENcws81/NNQAAmSH/vg>: Panic: file istream-seekable.c: line 231 (read_from_buffer): assertion failed: (*ret_r > 0)
Jan  4 15:57:18 mx.igf.cnrs.fr dovecot: lda(sophie.nicole)<13773><i9OENcws81/NNQAAmSH/vg>: Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(backtrace_append+0x3d) [0x7f679208761d] -> /usr/lib/dovecot/libdovecot.so.0(backtrace_get+0x1e) [0x7f679208773e] -> /usr/lib/dovecot/libdovecot.so.0(+0xfa79b) [0x7f679209379b] -> /usr/lib/dovecot/libdovecot.so.0(+0xfa801) [0x7f6792093801] -> /usr/lib/dovecot/libdovecot.so.0(+0x52e30) [0x7f6791febe30] -> /usr/lib/dovecot/libdovecot.so.0(+0x555af) [0x7f6791fee5af] -> /usr/lib/dovecot/libdovecot.so.0(+0x10cfb1) [0x7f67920a5fb1] -> /usr/lib/dovecot/libdovecot.so.0(+0x10d406) [0x7f67920a6406] -> /usr/lib/dovecot/libdovecot.so.0(i_stream_stat+0x34) [0x7f679209fbc4] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xb1536) [0x7f679220a536] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xb1612) [0x7f679220a612] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_get_physical_size+0x38) [0x7f67921a71c8] -> /usr/lib/dovecot/libdovecot-lda.so.0(+0x4015) [0x7f67922c1015] -> /usr/lib/dovecot/libdovecot-lda.so.0(mail_deliver_init+0x141) [0x7f67922c2111] -> /usr/lib/dovecot/deliver(main+0x879) [0x55d4bf4b5f99] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f6791ded09b] -> /usr/lib/dovecot/deliver(_start+0x2a) [0x55d4bf4b66ea]



dovecot -n

# 2.3.13 (89f716dc2): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.13 (cdd19fe3)
# OS: Linux 4.19.0-9-amd64 x86_64 Debian 10.7
# Hostname: mx.igf.cnrs.fr
auth_username_format =
disable_plaintext_auth = no
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
mail_location = maildir:~/maildir
mail_plugins = fts
mail_privileged_group = mail
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 Ads {
    auto = subscribe
  }
  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 =
  separator = .
  type = private
}
passdb {
  driver = pam
}
plugin {
  sieve = file:~/sieve;active=~/.dovecot.sieve
  sieve_after = /etc/dovecot/sieve.d
}
protocols = " imap sieve pop3 sieve"
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
  }
}
service imap-login {
  process_min_avail = 16
  service_count = 0
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
}
service stats {
  unix_listener stats-reader {
    group = dovecot
    mode = 0666
    user = root
  }
  unix_listener stats-writer {
    group = dovecot
    mode = 0666
    user = root
  }
}
ssl_cert = </etc/dovecot/ssl/certs/mx_igf_cnrs_fr_with_CA.crt
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
syslog_facility = local2
userdb {
  driver = passwd
}
verbose_proctitle = yes
protocol lda {
  mail_plugins = fts sieve
  syslog_facility = local2
}


-- 
Eric Mauger | Administrateur système et réseau
IGF UMR5203 | https://www.igf.cnrs.fr