<div dir="ltr"><div>Hi all</div><div><br></div><div>I think I solved the problem by changing the treatment of plugins in the dovecot configuration.<br>The global definition of the mail_plugins parameter was not being loaded within protocol sessions. I added the load in all the blocks where the sessions are defined.<br>Now I ask, is it necessary to add in all sessions, better to say, the fts fts_solr plugins would not only be necessary in the imap protocol? This is a question to ensure less memory usage.<br>Below is my current configuration:</div><div><br></div><div>root@server01:~# doveconf -n<br># 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf<br># Pigeonhole version 0.5.4 ()<br># OS: Linux 4.19.0-10-amd64 x86_64 Debian 10.5<br># Hostname: <a href="http://server01.example1.com">server01.example1.com</a><br>auth_mechanisms = plain login<br>disable_plaintext_auth = no<br>doveadm_password = # hidden, use -P to show it<br>doveadm_port = 2727<br>listen = *,[::]<br>log_timestamp = "%Y-%m-%d %H:%M:%S "<br>mail_debug = yes<br>mail_max_userip_connections = 100<br>mail_plugins = " notify replication fts fts_solr"<br>mail_privileged_group = vmail<br>namespace inbox {<br> inbox = yes<br> location =<br> mailbox Drafts {<br> auto = no<br> special_use = \Drafts<br> }<br> mailbox Junk {<br> auto = subscribe<br> autoexpunge = 60 days<br> special_use = \Junk<br> }<br> mailbox Sent {<br> auto = no<br> special_use = \Sent<br> }<br> mailbox "Sent Messages" {<br> auto = no<br> special_use = \Sent<br> }<br> mailbox Trash {<br> auto = subscribe<br> autoexpunge = 60 days<br> special_use = \Trash<br> }<br> prefix =<br>}<br>passdb {<br> args = /etc/dovecot/dovecot-sql.conf<br> driver = sql<br>}<br>plugin {<br> fts = solr<br> fts_solr = url=<a href="http://localhost:8983/solr/dovecot/">http://localhost:8983/solr/dovecot/</a><br> mail_replica = tcp:xxx.xxx.xxx.3:2727<br> quota = dict:user::file:/var/vmail/%d/%n/.quotausage<br> sieve = /var/vmail/%d/%n/.sieve<br> sieve_max_redirects = 25<br>}<br>protocols = imap pop3<br>service aggregator {<br> fifo_listener replication-notify-fifo {<br> group = root<br> mode = 0660<br> user = vmail<br> }<br> unix_listener replication-notify {<br> group = root<br> mode = 0660<br> user = vmail<br> }<br>}<br>service auth {<br> unix_listener /var/spool/postfix/private/auth {<br> group = postfix<br> mode = 0660<br> user = postfix<br> }<br> unix_listener auth-userdb {<br> group = vmail<br> mode = 0600<br> user = vmail<br> }<br> user = root<br>}<br>service doveadm {<br> inet_listener {<br> port = 2727<br> }<br> user = vmail<br>}<br>service imap-login {<br> client_limit = 1000<br> process_limit = 512<br>}<br>service lmtp {<br> unix_listener /var/spool/postfix/private/dovecot-lmtp {<br> group = postfix<br> mode = 0600<br> user = postfix<br> }<br>}<br>service replicator {<br> process_min_avail = 1<br> unix_listener replicator-doveadm {<br> group = root<br> mode = 0660<br> user = vmail<br> }<br>}<br>service stats {<br> unix_listener stats-reader {<br> group = vmail<br> mode = 0660<br> user = vmail<br> }<br> unix_listener stats-writer {<br> group = vmail<br> mode = 0660<br> user = vmail<br> }<br>}<br>ssl_ca = </etc/ssl/certs/ca-certificates.crt<br>ssl_cert = </etc/postfix/smtpd.cert<br>ssl_dh = # hidden, use -P to show it<br>ssl_key = # hidden, use -P to show it<br>userdb {<br> driver = prefetch<br>}<br>userdb {<br> args = /etc/dovecot/dovecot-sql.conf<br> driver = sql<br>}<br><font color="#ff0000">protocol imap {<br> mail_plugins = " notify replication fts fts_solr quota imap_quota"<br>}<br>protocol pop3 {<br> mail_plugins = quota<br> pop3_uidl_format = %08Xu%08Xv<br>}<br>protocol lda {<br> mail_plugins = " notify replication fts fts_solr sieve quota"<br> postmaster_address = <a href="mailto:postmaster@example1.com">postmaster@example1.com</a><br>}<br>protocol lmtp {<br> mail_plugins = " notify replication fts fts_solr sieve quota"<br> postmaster_address = <a href="mailto:postmaster@example1.com">postmaster@example1.com</a><br>}</font><br>local_name <a href="http://server01.example1.com">server01.example1.com</a> {<br> ssl_cert = </etc/letsencrypt/live/<a href="http://server01.example1.com/fullchain.pem">server01.example1.com/fullchain.pem</a><br> ssl_key = # hidden, use -P to show it<br>}<br>local_name <a href="http://mail.example1.com">mail.example1.com</a> {<br> ssl_cert = </etc/letsencrypt/live/<a href="http://mail.example1.com/fullchain.pem">mail.example1.com/fullchain.pem</a><br> ssl_key = # hidden, use -P to show it<br>}<br>local_name <a href="http://mail.example2.com">mail.example2.com</a> {<br> ssl_cert = </etc/letsencrypt/live/<a href="http://mail.example2.com/fullchain.pem">mail.example2.com/fullchain.pem</a><br> ssl_key = # hidden, use -P to show it<br>}<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter., 25 de ago. de 2020 às 00:45, Claudio Junior <<a href="mailto:csjunior@gmail.com">csjunior@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi<br><br>I have a dovecot installed on debian 10 using solr to have a better search speed in emails.<br>I am observing after an upgrade of the debian dovecot package the error below:<br><br>Aug 25 00:33:45 server01 dovecot: imap(<a href="mailto:username@example.com" target="_blank">username@example.com</a>)<24104><hyaFXqutnqUAAAAAAAAAAAAAAAAAAAAB>: Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0xdb62b) [0x7f0faeaeb62b] -> /usr/lib/dovecot/libdovecot.so.0(+0xdb6c1) [0x7f0faeaeb6c1] -> /usr/lib/dovecot/libdovecot.so.0(+0x4a149) [0x7f0faea5a149] -> /usr/lib/dovecot/libdovecot.so.0(+0x474ac) [0x7f0faea574ac] -> /usr/lib/dovecot/libdovecot.so.0(message_parser_parse_next_block+0x104) [0x7f0faead3844] -> /usr/lib/dovecot/libdovecot.so.0(message_search_msg+0xa8) [0x7f0faead5df8] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xcf89e) [0x7f0faec6e89e] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_search_args_foreach+0x45) [0x7f0faebf0445] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xd0774) [0x7f0faec6f774] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xd1a68) [0x7f0faec70a68] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x61) [0x7f0faec710e1] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x28) [0x7f0faebf9e58] -> dovecot/imap(+0x2691f) [0x55a43cada91f] -> dovecot/imap(command_exec+0x70) [0x55a43cad3d80] -> dovecot/imap(+0x25ed2) [0x55a43cad9ed2] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handle_timeouts+0x111) [0x7f0faeb018f1] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd0) [0x7f0faeb03070] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x4c) [0x7f0faeb01b7c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x40) [0x7f0faeb01ce0] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f0faea820d3] -> dovecot/imap(main+0x325) [0x55a43cac4bf5] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f0fae86809b] -> dovecot/imap(_start+0x2a) [0x55a43cac4d8a]<br>Aug 25 00:33:45 server01 dovecot: imap(<a href="mailto:username@example.com" target="_blank">username@example.com</a>)<24104><hyaFXqutnqUAAAAAAAAAAAAAAAAAAAAB>: Fatal: master: service(imap): child 24104 killed with signal 6 (core dumped)<br><br>The package versions are:<br>ii dovecot-core 1:2.3.4.1-5+deb10u3 amd64 secure POP3/IMAP server - core files<br>ii dovecot-imapd 1:2.3.4.1-5+deb10u3 amd64 secure POP3/IMAP server - IMAP daemon<br>ii dovecot-lmtpd 1:2.3.4.1-5+deb10u3 amd64 secure POP3/IMAP server - LMTP server<br>ii dovecot-lucene 1:2.3.4.1-5+deb10u3 amd64 secure POP3/IMAP server - Lucene support<br>ii dovecot-mysql 1:2.3.4.1-5+deb10u3 amd64 secure POP3/IMAP server - MySQL support<br>ii dovecot-pop3d 1:2.3.4.1-5+deb10u3 amd64 secure POP3/IMAP server - POP3 daemon<br>ii dovecot-sieve 1:2.3.4.1-5+deb10u3 amd64 secure POP3/IMAP server - Sieve filters support<br>ii dovecot-solr 1:2.3.4.1-5+deb10u3 amd64 secure POP3/IMAP server - Solr support<br><br>Emails are accessed via roundcube webmail.<br><div><br clear="all"><div><div dir="ltr">--<br>Claudio Junior </div></div></div><div dir="ltr"><br></div></div>
</blockquote></div></div>