<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — internal server error and mails fail to send or receive after update]]></title>
	<link rel="self" href="https://forum.iredmail.org/feed-atom-topic21152.xml" />
	<updated>2026-05-27T18:42:54Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.iredmail.org/topic21152-internal-server-error-and-mails-fail-to-send-or-receive-after-update.html</id>
		<entry>
			<title type="html"><![CDATA[internal server error and mails fail to send or receive after update]]></title>
			<link rel="alternate" href="https://forum.iredmail.org/post92000.html#p92000" />
			<content type="html"><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.7.4<br />- Deployed with the downloadable installer<br />- Linux/BSD distribution name and version: Debian GNU/Linux 12 (bookworm)<br />- Store mail accounts in PGSQL <br />- Web server: Nginx<br />- Manage mail accounts with iRedAdmin-Pro? No<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====<br />I had renewed my certs did an update with apt which warned me about a configuration file being supplanted (don&#039;t remember which) and I just clicked to preserve the existing version. After reboot Roundqube, Admin panel and Sogo were gone and no mails could be sent or received, but Thunderbird still connected to the server without a warning. Postgresql service is running.</p><p>Typical log readings:</p><p>dovecot.log<br />2026-05-27T18:56:47.711403+02:00 mail dovecot: master: Error: service(auth): command startup failed, throttling for 60.000 secs<br />2026-05-27T18:56:47.711519+02:00 mail dovecot: auth: Fatal: master: service(auth): child 437726 killed with signal 11 (core dumps disabled - <a href="https://dovecot.org/bugreport.html#coredumps)">https://dovecot.org/bugreport.html#coredumps)</a><br />2026-05-27T19:08:13.264417+02:00 mail dovecot: auth: Error: pgsql(127.0.0.1): Connect failed to database vmail: Connection refused<br />2026-05-27T19:08:13.264642+02:00 mail dovecot: auth: Error: #011Is the server running on that host and accepting TCP/IP connections? (state: connecting)<br />(state: connecting)<br />2026-05-02T23:58:05.840354+02:00 mail dovecot: master: Error: service(auth): command startup failed, throttling for 60.000 secs<br />2026-05-02T23:58:05.840428+02:00 mail dovecot: auth: Fatal: master: service(auth): child 814369 killed with signal 11 (core dumps disabled - <a href="https://dovecot.org/bugreport.html#coredumps)">https://dovecot.org/bugreport.html#coredumps)</a></p><p>mail.log<br />2026-05-24T04:14:43.171167+02:00 mail postfix/pickup[4100496]: warning: maildrop/4gHZvY1z4Pz3PV9: error writing 4gNMz71Bngz3V2t: queue file write error<br />2026-05-24T04:14:44.172584+02:00 mail postfix/pickup[4100496]: warning: 4gNMz81CYYz3V2t: message has been queued for 22 days<br />2026-05-24T04:14:44.172841+02:00 mail postfix/pickup[4100496]: 4gNMz81CYYz3V2t: uid=0 from=&lt;root&gt;<br />2026-05-24T04:14:44.173177+02:00 mail postfix/cleanup[4101952]: warning: proxy:pgsql:/etc/postfix/pgsql/sender_bcc_maps_user.cf lookup error for &quot;root@mail.east-central.eu&quot;<br />2026-05-24T04:14:44.173267+02:00 mail postfix/cleanup[4101952]: warning: 4gNMz81CYYz3V2t: sender_bcc_maps map lookup problem -- message not accepted, try again later<br />2026-05-24T04:14:44.173331+02:00 mail postfix/pickup[4100496]: warning: maildrop/4g6mL96QqJz3F6s: error writing 4gNMz81CYYz3V2t: queue file write error</p><p>php-fpm.log<br />2026-05-01T10:34:34.036649+02:00 mail php-fpm[642]: [NOTICE] [pool inet] child 567234 exited with code 0 after 1800.004866 seconds from start<br />2026-05-01T10:34:34.036984+02:00 mail php-fpm[642]: [NOTICE] [pool inet] child 570529 started<br />127.0.0.1 -&nbsp; 01/May/2026:10:34:36 +0200 &quot;GET /status&quot; 200<br />2026-05-01T10:34:37.027863+02:00 mail php-fpm[642]: [NOTICE] [pool inet] child 567244 exited with code 0 after 1800.001214 seconds from start<br />2026-05-01T10:34:37.028167+02:00 mail php-fpm[642]: [NOTICE] [pool inet] child 570540 started<br />127.0.0.1 -&nbsp; 01/May/2026:10:34:39 +0200 &quot;GET /status&quot; 200<br />2026-05-01T10:34:40.021674+02:00 mail php-fpm[642]: [NOTICE] [pool inet] child 567274 exited with code 0 after 1799.983776 seconds from start<br />2026-05-01T10:34:40.021907+02:00 mail php-fpm[642]: [NOTICE] [pool inet] child 570542 started<br />127.0.0.1 -&nbsp; 01/May/2026:10:34:42 +0200 &quot;GET /status&quot; 200<br />127.0.0.1 -&nbsp; 01/May/2026:10:34:45 +0200 &quot;GET /status&quot; 200<br />127.0.0.1 -&nbsp; 01/May/2026:10:34:48 +0200 &quot;GET /status&quot; 200</p><p>postgresql-15-main.log</p><p>2026-04-27 03:07:24.800 CEST [4149419] fail2ban@fail2ban STATEMENT:&nbsp; INSERT INTO banned (<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ip, ports, protocol, jail,<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hostname, country, rdns,<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;failures, loglines)<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;VALUES (<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#039;36.189.207.209&#039;, &#039;22&#039;, &#039;tcp&#039;, &#039;sshd&#039;,<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#039;mail&#039;, &#039;CN, China&#039;, &#039;;; communications error to 46.38.225.230#53: timed out<br />&nbsp; &nbsp; ;; communications error to 46.38.225.230#53: timed out<br />&nbsp; &nbsp; ;; communications error to 46.38.225.230#53: timed out<br />&nbsp; &nbsp; ;; communications error to 46.38.252.230#53: timed out<br />&nbsp; &nbsp; ;; communications error to 2a03:4000:0:1::e1e6#53: timed out<br />&nbsp; &nbsp; ;; no servers could be reached&#039;,<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#039;5&#039;, &#039;MjAyNi0wNC0yN1QwMzowNjo1Ny43NjYzMzArMDI6MDAgbWFpbCBzc2hkWzQxNDkzMTddOiBGYWls<br />&nbsp; &nbsp; ZWQgcGFzc3dvcmQgZm9yIHJvb3QgZnJvbSAzNi4xODkuMjA3LjIwOSBwb3J0IDIwOTcgc3NoMiAy<br />&nbsp; &nbsp; MDI2LTA0LTI3VDAzOjA3OjAxLjMyODIzNiswMjowMCBtYWlsIHNzaGRbNDE0OTMyMV06IHBhbV91...</p><p>...</p><p>2026-04-27 21:26:25.702 CEST [793] LOG:&nbsp; checkpoint complete: wrote 17 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.608 s, sync=0.002 s, total=1.613 s; sync files=12, longest=0.001 s, average=0.001 s; distance=22 kB, estimate=546 kB<br />2026-04-27 21:31:24.794 CEST [793] LOG:&nbsp; checkpoint starting: time<br />2026-04-27 21:31:25.803 CEST [793] LOG:&nbsp; checkpoint complete: wrote 11 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.004 s, sync=0.002 s, total=1.010 s; sync files=11, longest=0.001 s, average=0.001 s; distance=10 kB, estimate=492 kB<br />2026-04-27 21:36:24.898 CEST [793] LOG:&nbsp; checkpoint starting: time<br />2026-04-27 21:36:25.908 CEST [793] LOG:&nbsp; checkpoint complete: wrote 11 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.006 s, sync=0.002 s, total=1.011 s; sync files=11, longest=0.001 s, average=0.001 s; distance=11 kB, estimate=444 kB<br />2026-04-27 21:41:25.006 CEST [793] LOG:&nbsp; checkpoint starting: time<br />2026-04-27 21:41:26.034 CEST [793] LOG:&nbsp; checkpoint complete: wrote 11 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.006 s, sync=0.013 s, total=1.029 s; sync files=11, longest=0.010 s, average=0.002 s; distance=9 kB, estimate=401 kB<br />2026-04-27 21:41:31.652 CEST [755] LOG:&nbsp; received fast shutdown request<br />2026-04-27 21:41:31.653 CEST [755] LOG:&nbsp; aborting any active transactions<br />2026-04-27 21:41:31.654 CEST [82459] iredapd@iredapd FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.654 CEST [82456] amavisd@amavisd FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.654 CEST [81813] iredapd@iredapd FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.654 CEST [4148607] amavisd@amavisd FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.656 CEST [81807] vmail@vmail FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.657 CEST [82446] iredapd@iredapd FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.658 CEST [81795] vmail@vmail FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.659 CEST [81809] amavisd@amavisd FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.661 CEST [82444] vmail@vmail FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.662 CEST [81796] amavisd@amavisd FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.662 CEST [82445] amavisd@amavisd FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.664 CEST [82458] iredapd@iredapd FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.665 CEST [82454] vmail@vmail FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.668 CEST [3731144] amavisd@amavisd FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.668 CEST [3646058] amavisd@amavisd FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.672 CEST [3589246] amavisd@amavisd FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.674 CEST [305388] sogo@sogo FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.675 CEST [305691] sogo@sogo FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.675 CEST [305364] sogo@sogo FATAL:&nbsp; terminating connection due to administrator command<br />2026-04-27 21:41:31.681 CEST [755] LOG:&nbsp; background worker &quot;logical replication launcher&quot; (PID 803) exited with exit code 1<br />2026-04-27 21:41:31.700 CEST [793] LOG:&nbsp; shutting down<br />2026-04-27 21:41:31.700 CEST [793] LOG:&nbsp; checkpoint starting: shutdown immediate<br />2026-04-27 21:41:31.704 CEST [793] LOG:&nbsp; checkpoint complete: wrote 0 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.004 s; sync files=0, longest=0.000 s, average=0.000 s; distance=0 kB, estimate=361 kB<br />2026-04-27 21:41:31.721 CEST [755] LOG:&nbsp; database system is shut down<br />2026-04-27 21:42:57.622 CEST [122671] FATAL:&nbsp; could not load private key file &quot;/etc/letsencrypt/live/mail.east-central.eu/privkey.pem&quot;: Permission denied<br />2026-04-27 21:42:57.623 CEST [122671] LOG:&nbsp; database system is shut down<br />pg_ctl: could not start server<br />Examine the log output.<br />2026-04-27 21:42:59.046 CEST [122912] FATAL:&nbsp; could not load private key file &quot;/etc/letsencrypt/live/mail.east-central.eu/privkey.pem&quot;: Permission denied<br />2026-04-27 21:42:59.046 CEST [122912] LOG:&nbsp; database system is shut down<br />pg_ctl: could not start server<br />Examine the log output.<br />2026-04-27 21:46:38.747 CEST [754] FATAL:&nbsp; could not load private key file &quot;/etc/letsencrypt/live/mail.east-central.eu/privkey.pem&quot;: Permission denied<br />2026-04-27 21:46:38.751 CEST [754] LOG:&nbsp; database system is shut down<br />pg_ctl: could not start server<br />Examine the log output.<br />2026-04-27 22:25:54.676 CEST [747] FATAL:&nbsp; could not load private key file &quot;/etc/letsencrypt/live/mail.east-central.eu/privkey.pem&quot;: Permission denied<br />2026-04-27 22:25:54.680 CEST [747] LOG:&nbsp; database system is shut down<br />pg_ctl: could not start server<br />Examine the log output.</p><p>PLEASE HELP!</p>]]></content>
			<author>
				<name><![CDATA[Akiba]]></name>
				<uri>https://forum.iredmail.org/user39513.html</uri>
			</author>
			<updated>2026-05-27T18:42:54Z</updated>
			<id>https://forum.iredmail.org/post92000.html#p92000</id>
		</entry>
</feed>
