Postfix must run in a chroot on Debian and Ubuntu systems.
We configure the /var/spool/postfix/var/run/milter-greylist/milter-greylist.sock socket file for Postfix in Virtualmin. I recall fixing this a long time ago, and I believe we’re doing it right.
However, the OP categorized the ticket as “Webmin,” and I hope that is accurate. I also hope they are not using an outdated version of Virtualmin that once had a bug.
service milter-greylist status
● milter-greylist.service - Greylist Mail Filter Daemon
Loaded: loaded (/lib/systemd/system/milter-greylist.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2024-12-15 16:12:44 CET; 1 weeks 0 days ago
Main PID: 464 (milter-greylist)
Tasks: 7 (limit: 9492)
Memory: 5.1M
CPU: 33.852s
CGroup: /system.slice/milter-greylist.service
└─464 /usr/sbin/milter-greylist -u greylist
Dec 15 16:12:44 panel.donagest.com systemd[1]: Starting Greylist Mail Filter Daemon...
Dec 15 16:12:44 panel.donagest.com milter-greylist[422]: cannot read dumpfile "/var/lib/milter-greylist/greylist.db"
Dec 15 16:12:44 panel.donagest.com milter-greylist[422]: starting with an empty greylist
Dec 15 16:12:44 panel.donagest.com systemd[1]: Started Greylist Mail Filter Daemon.
It looks fine. Then I suggest checking if /etc/postfix/master.cf is configured to run Postfix in chroot. Alternatively, just disable mail rate limiting on the “Email Settings ⇾ Mail Rate Limiting” page.
In one window and use you email client in another so you watch in real time what happens when you try to connect. You could also try using telnet to connect to the server directly
Unfortunately it does not record any message in the mail.log, only the client gives me this error:
Connection could not be established with host mail.coveriphone.eu :stream_socket_client(): Unable to connect to tcp://mail.coveriphone.eu:587 (Connection refused)
There you are you can not connect to the server, hence nothing logged. You need to find out why port 587 on your server is refusing connections. Are you banned by fail2ban ? Is dovecot running correctly?