Problem with mail rate limiting

4 posts / 0 new
Last post
#1 Mon, 02/15/2016 - 06:13
nubevps
nubevps's picture

Problem with mail rate limiting

Hello,

This is my first post on this forum.

I have problem with mail rate limiting feature of Virtualmin. When I set the rate limit I get this message:

=====
Starting milter-greylist server ..
.. startup failed : Starting milter-greylist (via systemctl): Job for milter-greylist.service failed because a configured resource limit was exceeded. See "systemctl status milter-greylist.service" and "journalctl -xe" for details. FAIL
====

if I run command systemctl status milter-greylist.service a root I see this:

=====
milter-greylist.service - SYSV: Milter Greylist Daemon
Loaded: loaded (/etc/rc.d/init.d/milter-greylist)
Active: failed (Result: resources) since lun 2016-02-15 12:48:55 CET; 1min 37s ago
Docs: man:systemd-sysv-generator(8)
Process: 9168 ExecStart=/etc/rc.d/init.d/milter-greylist start (code=exited, status=0/SUCCESS)

feb 15 12:48:55 systemd[1]: Starting SYSV: Milter Greylist Daemon...
feb 15 12:48:55 milter-greylist[9170]: cannot read dumpfile "/var/lib/milter-greylist/db/greylist.db"
feb 15 12:48:55 milter-greylist[9170]: starting with an empty greylist
feb 15 12:48:55 milter-greylist[9168]: [43B blob data]
feb 15 12:48:55 systemd[1]: PID 9171 read from file /var/run/milter-greylist.pid does not exist or is a zombie.
feb 15 12:48:55 systemd[1]: Failed to start SYSV: Milter Greylist Daemon.
feb 15 12:48:55 systemd[1]: Unit milter-greylist.service entered failed state.
feb 15 12:48:55 systemd[1]: milter-greylist.service failed.
=====

any idea how to fix it?.

Regards.

Fri, 02/19/2016 - 01:39
nubevps
nubevps's picture

No help?:

Job for milter-greylist.service failed because a configured resource limit was exceeded

NubeVPS - servidores virtuales cloud http://www.nubevps.com

Fri, 02/19/2016 - 02:01
nubevps
nubevps's picture

checking /etc/mail/greylist.conf I found this:

=====
ratelimit "domain_14535384548976" rcpt 15000 / 1d
racl blacklist from /.*@domain.net/ ratelimit "domain_14535384548976" msg "Message quota exceeded"
racl whitelist from /.*@domain.net/
ratelimit "virtualmin_limit" rcpt 900 / 1d
racl blacklist from /.*/ ratelimit "virtualmin_limit" msg "Message quota exceeded"
racl whitelist default
=====

can you confirm if this is a correct setup?, I tried both limiting daily limit to 900 emails and later to 15000.

NubeVPS - servidores virtuales cloud http://www.nubevps.com

Wed, 02/24/2016 - 08:42
nubevps
nubevps's picture

Problem solved, thanks for non support :-)

NubeVPS - servidores virtuales cloud http://www.nubevps.com

Topic locked