Mail Rate Limiting on Debian 12

Greetings

I’m running Virtualmin 7.8.2 and am looking to apply Mail Rate Limiting. It’s a multi-tenant webhosting server, I try to avoid doing locally-hosted e-mail but sometimes it is unavoidable and in these instances limiting is very helpful (if not a requirement).

I can’t configure it since it says milter-greylist is not installed, and installing this is not possible. I read the discussion concerning this in another thread, apparently support for this package no longer exists on Debian 12.

Ergo my question: what’s in the works (or already available) to allow Mail Rate Limiting on a Debian 12 system without the milter-greylist package available?

Thanks!

Kenneth

SYSTEM INFORMATION
OS type and version Debian 12 bookworm
Webmin version 2.101
Virtualmin version 7.8.2
Related packages milter-greylist

A similar discussion is here

The only way for a while is to compile it from source.

http://hcpnet.free.fr/milter-greylist/#downloads

https://packages.debian.org/source/bullseye/milter-greylist

Hi @ADDISON74

Thanks a lot, I’ll consider looking into this. I’ll have to estimate how crucial it is, but considering I now have no rate limiting for outbound mails either this could impact the server’s reputation.

Is the idea to have another way of implementing this in a future Virtualmin releases @Joe ?

Kind regards
Kenneth

As this is an omission of the OS I would have thought it is really a question to be addressed by the folk at Debian. I gather it worked well enough on Debian 11 and does on other flavours of Linux OS (Ubundu etc) so possibly the question is why Debian 12?

1 Like

I’d check with the packagers. It seems to be in ‘unstable’ so it may get backported.

I have since manually compiled milter-greylist from the linked source (and installed the dependencies prior to that) and now I can configure Mail Rate Limiting.

I’m not at all sure if it works and I even doubt it, since milter-greylist doesn’t run (it fails to start for some reason) but I can’t troubleshoot this right now.

I faced a similar problem, a missing package from the distribution. In a virtual machine I compiled the source code and then created a Debian package to be installed in production on several servers. I was lucky enough to make it work. I am disappointed to note that this package milter-greylist was skipped in version 12 for no particular reason, The Debian Team didn’t even mention it in the release notes. There are still problems with the logs (people in forums are still looking for them in /var/log), with the clock update and sync, Spamassassin. It seems that I have to stay for a while with Debian 11 which does not have these problems.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.