Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

ratelimit feature mx sync

2013-02-01 by Juan Carlos Sanchez

Hello:

I am using ratelimit feature to try to limit the amount of recipients a user may send (and this way trying to minimize spam sent through compromised accounts)

Our mail service is separated in two servers under a hardware balancer, and both servers are MX Sync'ed under milter-greylist config file.

But it looks like info about recipients sent by a user is not shared between servers, unless until the limit is reached in one of them.

I'd like to fix 500 recipients / day in both servers and apply blacklist in case the users sends more than 500 recipients adding both balanced servers
¿Is this possible? ¿maybe I'm doing sth. wrong?


A piece of my config (same in both servers):

-------------
peer xxx.xxx.xxx.xxx

list "testingip" addr { \
\
}

ratelimit "redrcpt" rcpt 500 / 1d key "%f%i"
racl blacklist list "testingip" ratelimit "redrcpt" msg "You have exceeded the number of messages per day limit"
--------------------


Thanks in advance.

Best regards.







-- 

------------------------------------------------------
Juan Carlos Sanchez Hernandez
Responsable de  Seguridad y Correo Electronico
Servicio de Planificacion Informatica y Comunicaciones
Universidad Politecnica de Madrid
Rectorado
Avda. Ramiro de Maeztu 7
28040 Madrid
------------------------------------------------------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.