dovecot: config: Error: BUG: Config client connection sent too much data

Aki Tuomi
2017-08-25T09:39:24Z

&gt; On August 25, 2017 at 9:11 AM Tony <tony at kode.email> wrote:
&gt;
&gt;
&gt; Hello,
&gt;
&gt; Today I started noticing a very odd Dovecot error in the mail logs
&gt; across 2 replicated Dovecot hosts via dsync. I have searched the
Dovecot
&gt; archives, Google, back tracked, downgraded Dovecot to earlier versions
&gt; from earlier this year and ruled everything out I could think of to no
&gt; avail. There really are not any helpful reports with what I am
&gt; specifically seeing. The strange thing is only vmail at domain.net is
&gt; repeatedly shown in the log. The error looks like this.
&gt;
&gt; *Aug 24 22:46:02 orbitron dovecot: config: Error: BUG: Config client
&gt; connection sent too much data****Aug 24 22:46:02 orbitron dovecot:
&gt; doveadm(vmail at domain.net@domain.net at domain.net@domain.net at
domain.net@domain.net at domain.net@domain.net at domain.net):
&gt; Fatal: Error reading configuration: read(/var/run/dovecot/config)
&gt; failed: read(size=8192) failed: Connection reset by peer***
&gt; $ dovecot --version
&gt; 2.2.31 (65cde28)
&gt;
&gt; Dovecot #1: Linux kernel 4.9.36-x86_64
&gt; Dovecot #2: Linux kernel 4.12.8-x86_64
&gt;
&gt; Here are the latest Dovecot updates performed this year.
&gt;
&gt; [2017-04-29 14:45] [ALPM] upgraded dovecot (2.2.28-2 -&gt;
2.2.28-3)
&gt; [2017-05-02 23:05] [ALPM] upgraded dovecot (2.2.28-3 -&gt;
2.2.29.1-1)
&gt; [2017-06-11 17:20] [ALPM] upgraded dovecot (2.2.29.1-1 -&gt;
2.2.30.2-1)
&gt; [2017-06-30 22:46] [ALPM] upgraded dovecot (2.2.30.2-1 -&gt;
2.2.31-1)
&gt;
&gt; When Dovecot was last updated back on June 30, I did `systemctl
&gt; daemon-reload` but never actually restarted the Dovecot daemon until
&gt; what seems like today. The only thing I did today was edit
&gt; /etc/dovecot/conf.d/10-auth.conf by simply enabling
&gt; "*auth_username_format = %Lu*" which was commented out before
I enabled
&gt; it. That is the /*only*/ thing that I tested. After I was done testing
I
&gt; went back and commented out the same thing so it reads
&gt; "*#auth_username_format = %Lu*" and of course restarted
Dovecot. I
&gt; really doubt this has anything to do with what I am reporting as auth
is
&gt; not the problem in this case.
&gt;
&gt;
&gt; Thank You,
&gt;
&gt; Tony
&gt;

Can you provide doveconf -n.

Also auth_username_format=%Lu*, why *?

Aki</tony at kode.email>