Re: [Exim] How to make SMTP_ACCEPT_MAX_PER_HOST not apply to…

Top Page
Delete this message
Reply to this message
Author: Alexander Sabourenkov
Date:  
To: Peter Klitgaard
CC: exim-users mailling list
Subject: Re: [Exim] How to make SMTP_ACCEPT_MAX_PER_HOST not apply to hosts in SMTP_R ESERVE_HOSTS
Peter Klitgaard wrote:
> Hi
>
> Is there a way to make 'smtp-accept_max_per_host' not apply to hosts in
> 'smtp_reserve_hosts'.
>
> I have testet the 'smtp-accept_max_per_host' and find that this option also
> applies to hosts in 'smtp_reserve_hosts'. Is there a way to make
> 'smtp-accept_max_per_host' NOT apply to my internal hosts?


My quick and dirty method is:

smtp_accept_max_per_host = ${if or { \
         { eq {$host_address}{10.0.0.1} } \
         { eq {$host_address}{10.0.2.1} } \
         { eq {$host_address}{10.0.3.1} } \
         } {42}{5}}



--

./lxnt