Re: [exim] ACL to drop connectio

Pàgina inicial
Delete this message
Reply to this message
Autor: Graeme Fowler
Data:  
A: exim users
Assumpte: Re: [exim] ACL to drop connectio
On Fri, 2010-06-11 at 12:30 -0400, W B Hacker wrote:
> YMMV, but the built-in limits work really well here.


...so explaining them would be useful, would it not?

J-P, what you're looking for is the global option:

smtp_accept_max_per_host

We use it like this:

smtp_accept_max_per_host       = ${if \
                                     match_ip\
                                        {$sender_host_address}\
                                        {+priority_hosts}\
                                     {0}\
                                     {2}\
                                   }


What that says is: if the connecting IP is in the hostlist
"priority_hosts", let them connect unlimited times simultaneously; every
other host can connect a maximum of 2 simultaneous SMTP sessions.

It's not an ACL option.

Graeme