On 9/3/07, Philip Hazel <[EMAIL PROTECTED]> wrote:
> On Mon, 3 Sep 2007, Chris Laif wrote:
>
> > As a related question: Is it possible to set those smtp_*max*-limits
> > depending on the interface used?
>
> Check the spec; that's what I've just done:
>
> --------------------------------------------------------
> -smtp_accept_reserve-Use: main-Type: integer-Default: 0-
> --------------------------------------------------------
>

Muahh, sorry, I always wondered why there are those little cross-signs
in the PDF.


> > I tried something like
> >
> > smtp_reserve_hosts = ${if
> > eq{$interface_address}{SERVER_AUTH_INTERFACE}{256}{128}}
> >
> > but it didn't work (I expected it not to work but tried anyway :)).
>
> I presume you mean smtp_accept_reserve, which is the count;
> smtp_reserve_hosts is the list of hosts (which *is* expanded, like all
> host lists).
>

Oh yes, I copy+pasted that wrong. Now I have:

smtp_accept_max = 128
smtp_accept_reserve = 32
smtp_reserve_hosts = ${if eq{$interface_address}{SERVER_AUTH_INTERFACE}{*}{}}
smtp_accept_max_per_host = 4

That seems to work the way I want.

Thank you very much!
Chris

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to