I am now trying portmaster -f dovecot-2.3.6 which is reinstalling 78 ports. ?? On Wed, May 15, 2019 at 7:26 PM Cerebus the Aardvark <kreme at kreme.com> wrote:> > I've rebuilt dovecot, but no change in behavior. > > I also enabled debug, but nothing else is logged to /var/log/dovecot > as to why IMAP is crashing. > > On Wed, May 15, 2019 at 5:46 PM @lbutlr via dovecot <dovecot at dovecot.org> wrote: > > > > > > mail kernel: pid 59433 (imap-login), uid 0: exited on signal 11 (core dumped) > > master: Error: service(imap-login): command startup failed, throttling for 16 secs > > May 15 17:21:37 imap-login: Fatal: master: service(imap-login): child 92934 killed with signal 11 (core dumped) > > > > I also get a password error for a user unknown, but if I connect to the database with the credentials dovecot uses, I get a password. > > > > > > MariaDB [postfix]> select password FROM mailbox where username ='sample at domain.munged'; > > +-------------------------------------------------------------------------------+ > > | password | > > +-------------------------------------------------------------------------------+ > > | {SHA256-CRYPT}$5$042......................................................... | > > +-------------------------------------------------------------------------------+ > > > > MariaDB [postfix]> select 89 as uid, 89 as gid, concat('/usr/local/virtual/', maildir) as home FROM mailbox where username = 'sample at domain.munged'; > > +-----+-----+------------------------------------------+ > > | uid | gid | home | > > +-----+-----+------------------------------------------+ > > | 89 | 89 | /usr/local/virtual/sample at domain.munged/ | > > +-----+-----+------------------------------------------+ > > 1 row in set (0.00 sec) > > > > I updated my system to openssl111 and rebuilt dovecot and postfix (and a hundred other packages). <y configuration files have not changed. > > > > I've looked through he logs for other info, but I don't see anything. Trying to connect via openssl gives me: > > > > # openssl s_client -connect mail.covisp.net:993 -starttls imap > > CONNECTED(00000003) > >
No change. Still get
May 15 23:39:43 master: Error: service(imap-login): command startup
failed, throttling for 8 secs
May 15 23:39:43 imap-login: Fatal: master: service(imap-login): child
68411 killed with signal 11 (core dumped)
(with debug enabled)
postconf -n (though it hasn't changed since pre openssl111)
# 2.3.6 (7eab80676): /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.6 (92dc263a)
# OS: FreeBSD 11.2-RELEASE-p4 i386
# Hostname: mail.covisp.net
auth_debug = yes
auth_failure_delay = 5 secs
auth_mechanisms = PLAIN LOGIN
default_client_limit = 4096
default_process_limit = 1024
default_vsz_limit = 768 M
disable_plaintext_auth = no
first_valid_uid = 89
imap_id_log = *
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
log_path = /var/log/dovecot
login_log_format_elements = user=<%u> %r %m %c
mail_location = maildir:~/Maildir
mail_max_userip_connections = 90
mail_plugins = " lazy_expunge acl"
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 ihave
namespace inbox {
  inbox = yes
  location   mailbox Archive {
    auto = subscribe
    special_use = \Archive
  }
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    auto = subscribe
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix }
passdb {
  driver = pam
  username_filter = !*@*
}
passdb {
  args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve
  imapsieve_mailbox1_causes = COPY
  imapsieve_mailbox1_name = Junk
  imapsieve_mailbox2_before = file:/usr/lib/dovecot/sieve/report-ham.sieve
  imapsieve_mailbox2_causes = COPY
  imapsieve_mailbox2_from = Junk
  imapsieve_mailbox2_name = *
  imapsieve_mailbox3_before = file:/usr/lib/dovecot/sieve/mark-read.sieve
  imapsieve_mailbox3_causes = COPY
  imapsieve_mailbox3_name = Archive
  quota_rule2 = .EXPUNGED:ignore
  sieve = file:~/.sieve;active=~/.active_sieve
  sieve_default = /usr/lib/dovecot/sieve/default.sieve
  sieve_default_name = spamassassin
  sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.environment
  sieve_pipe_bin_dir = /usr/lib/dovecot/sieve
  sieve_plugins = sieve_imapsieve sieve_extprograms
}
protocols = imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
  }
}
service imap-login {
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
service pop3-login {
  inet_listener pop3 {
    port = 0
  }
  inet_listener pop3s {
    port = 995
    ssl = yes
  }
}
service stats {
  unix_listener stats-reader {
    group = dovecot
    mode = 0666
    user   }
  unix_listener stats-writer {
    group = dovecot
    mode = 0666
    user   }
}
ssl_cert = </usr/local/etc/dehydrated/certs/covisp.net/fullchain.pem
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
ssl_min_protocol = TLSv1.1
userdb {
  driver = passwd
}
userdb {
  args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
  default_fields = uid=vpopmail gid=vchkpw
mail_location=/usr/local/virtual/%u mail=maildir:/usr/local/virtual/%u
  driver = sql
}
protocol imap {
  mail_plugins = " lazy_expunge acl imap_sieve"
}
On 16.5.2019 9.04, Cerebus the Aardvark via dovecot wrote:> No change. Still get > > May 15 23:39:43 master: Error: service(imap-login): command startup > failed, throttling for 8 secs > May 15 23:39:43 imap-login: Fatal: master: service(imap-login): child > 68411 killed with signal 11 (core dumped) > >Can you try get gdb bt full on that core file? Aki