Re: [exim] usage of smtp_reserve_hosts

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Chris Laif
Υ/ο: exim-users
Αντικείμενο: Re: [exim] usage of smtp_reserve_hosts
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-                 
--------------------------------------------------------                 


It is not marked as "expanded", so the answer is no.                                                                         


> 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).

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book