Re: [exim] max messages per recipients

Pàgina inicial
Delete this message
Reply to this message
Autor: Matthew Newton
Data:  
A: Sujit Acharyya-choudhury
CC: exim-users@exim.org, Haynes, Jonathan
Assumpte: Re: [exim] max messages per recipients
On Wed, Aug 03, 2016 at 12:59:43PM +0000, Sujit Acharyya-choudhury wrote:
> I am using rate limit for the sender, and it alerts me. However, the
> problem as I mentioned is the recipients. I could not find any easy way of
> alerting me.


Ah, that seems more unusual. So trying to find out when lots of
addresses that are all sending to one recipient? But do you then
want to block all the sender addresses? Or or the recipient?

In any case, you can set the key to use for the ratelimit, which
should do what you want to do. I prefix keys with a code so they
don't get muddled up. So you should be able to use *something*
like this for senders

ratelimit = 100/1h/strict/per_rcpt/sndr-$sender_address

and then this for recipients

ratelimit = 100/1h/strict/per_addr/rcpt-$local_part@$domain

(both in the RCPT ACL).

Matthew


--
Matthew Newton, Ph.D. <mcn4@???>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp@???>