Yesterday we used ISPConfig 3.2.11p1 on a Debian 11 server. We upgraded it to Debian 12 based on the following descriptions: - https://www.howtoforge.com/how-to-upgrade-from-debian-11-to-debian-12/ - https://www.howtoforge.com/update-the-ispconfig-perfect-server-from-debian-11-to-debian-12/ After one restart of the server, I noticed that the postgrey service was running with an error. When I run systemctl status postgrey.service, I get the following messages: Code: systemctl status postgrey.service × postgrey.service - Postfix greylisting policy server Loaded: loaded (/lib/systemd/system/postgrey.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Sun 2023-11-05 13:42:34 CET; 19h ago Duration: 162ms Docs: man:postgrey(8) Process: 5742 ExecStart=/usr/sbin/postgrey $POSTGREY_OPTS --greylist-text=${POSTGREY_TEXT} (code=exited, status=22) Main PID: 5742 (code=exited, status=22) CPU: 163ms nov 05 13:42:34 isp.ccpro.hu systemd[1]: postgrey.service: Scheduled restart job, restart counter is at 5. nov 05 13:42:34 isp.ccpro.hu systemd[1]: Stopped postgrey.service - Postfix greylisting policy server. nov 05 13:42:34 isp.ccpro.hu systemd[1]: postgrey.service: Start request repeated too quickly. nov 05 13:42:34 isp.ccpro.hu systemd[1]: postgrey.service: Failed with result 'exit-code'. nov 05 13:42:34 isp.ccpro.hu systemd[1]: Failed to start postgrey.service - Postfix greylisting policy server. A /var/log/syslog-ban pedig a következőket látni: Code: Nov 5 12:27:47 isp postgrey[21150]: 2023/11/05-12:27:47 postgrey (type Net::Server::Multiplex) starting! pid(21150) Nov 5 12:27:47 isp postgrey[21150]: Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4 Nov 5 12:27:47 isp postgrey[21150]: Resolved [localhost]:10023 to [::1]:10023, IPv6 Nov 5 12:27:47 isp postgrey[21150]: Binding to TCP port 10023 on host 127.0.0.1 with IPv4 Nov 5 12:27:47 isp postgrey[21150]: Binding to TCP port 10023 on host ::1 with IPv6 Nov 5 12:27:47 isp postgrey[21150]: ERROR: Can't connect to TCP port 10023 on ::1 [Invalid argument] at /usr/sbin/postgrey line 781. Nov 5 12:27:47 isp systemd[1]: postgrey.service: Main process exited, code=exited, status=22/n/a Nov 5 12:27:47 isp systemd[1]: postgrey.service: Failed with result 'exit-code'. What could be the problem, what could happen? This did not happen when updating our other server.
The problem solved. The IPV6 is disabled in sysctl.conf. So I enabled it, or the other solution is: sed -i -e 's/10023/127.0.0.1:10023/' /etc/default/postgrey and works fine.