Re: [exim] Limit number of recipients

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Ian Eiloart
Datum:  
To: Ron McKeating, Exim-Users (E-mail)
CC: 
Betreff: Re: [exim] Limit number of recipients


--On May 5, 2005 11:37:41 +0100 Ron McKeating <R.J.Mckeating@???>
wrote:

> Is it possible to limit the number of recipients for an incoming email.
> We have
>
> smtp_accept_max = 450
> smtp_accept_max_per_connection = 400
>
> and I know you can restrict the size of a header, but is it possible to
> tell exim to only accept an email if it is for less than say 100
> recipients ?


Yes. The header isn't relevant here (think about BCC).

You need to check the value of $rcpt_count in an ACL. the pre-data ACL
would be a good one. Alternatively, check it in the rcpt acl, and add a one
second delay on reaching a certain threshold, perhaps (I'm not sure that'll
work, though).

> Ron
>
> --
> Ron McKeating
> Senior IT Services Specialist
> Computing Services
> Loughborough University
> 01509 222329




--
Ian Eiloart
Servers Team
Sussex University ITS