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

Top Page
Delete this message
Reply to this message
Author: Peter Klitgaard
Date:  
To: 'Alexander Sabourenkov', Peter Klitgaard
CC: exim-users mailling list
Subject: SV: [Exim] How to make SMTP_ACCEPT_MAX_PER_HOST not apply to host s in SMTP_R ESERVE_HOSTS
Hi

Thanks a lot.

At first i could not make the included setup work. I then replaced the
$host_address variable with $sender_host_address then it worked as I
expected.

/Peter

-----Oprindelig meddelelse-----
Fra: Alexander Sabourenkov [mailto:lists@lxnt.info]
Sendt: 3. marts 2004 10:21
Til: Peter Klitgaard
Cc: exim-users mailling list
Emne: 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