Mail rate limiting does not work in Ubuntu (has no effect on outbound mail)

I set a test domain to “At most 2 every 24 hours”, which I read to mean that an email address on this domain will have something happen differently if it attempts to send a third mail for the day.

I then sent three mails, one after the other, each to a different recipient. The third arrived fine, no difference. (I then restarted Postfix, confirmed that the settings were still in place and repeated the exercise… no change.)

What could I have missed?

I should mention that another forum post from 2021 mentions that rate limiting is not working in Ubuntu. There was no response, and the poster wasn’t careful to include full commands used.

According to the poster the postfix/main.cf seems to be pointing to the wrong sock file.

I found such a file in /etc/postfix/main.cf, and mine contains the lines:

smtpd_milters = inet:127.0.0.1:8891,local:/var/run/milter-greylist/milter-greylist.sock
non_smtpd_milters = inet:127.0.0.1:8891,local:/var/run/milter-greylist/milter-greylist.sock

 However, though there is a "/var/run/milter-greylist/" folder, it is empty (no milter-greylist.sock file is in there).

 The previous poster mentioned a "ps command" (without elaborating) and provided its output.  I do not know how to duplicate that result, but I do note that a path that he provided:

/var/spool/postfix/var/run/milter-greylist/milter-greylist.sock

 Does exist.

 Changing my main.cf to read:

smtpd_milters = inet:127.0.0.1:8891,local:/var/spool/postfix/var/run/milter-greylist/milter-greylist.sock
non_smtpd_milters = inet:127.0.0.1:8891,local:/var/spool/postfix/var/run/milter-greylist/milter-greylist.sock

 Has no effect when I restart postfix and retry my sending exercise though, so I don't think that the poster's conclusion that the wrong file is being pointed to is proved.

 Does anyone know what I'm missing here?  This is a test virtualmin setup but I've been messing with it here and there for some time.  I could stand-up a completely new virtualmin machine to ascertain whether this is broken out-of-the-box or if I managed to trip over something somewhere, but I figured maybe someone else has run into this and I have just neglected to start some service or set some setting... or perhaps that I misunderstand the Mail Rate Limiting settings and their expected function.

Thanks.

SYSTEM INFORMATION
OS type and version Ubuntu 24.04
Virtualmin version 7.20.2