Re: [Exim] Planning for Exim 4

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Dave C.
CC: exim-users
Assumpte: Re: [Exim] Planning for Exim 4
On Wed, 13 Jun 2001, Dave C. wrote:

> I quote a few sections of this below. It seems that if the TCP port, and
> the IP address of the interface used to receive an SMTP message were
> stored in some variables and made available for use in ACL expansions,
> one could at least apply different policies in this manner.


They are available, and you are correct. You can, for example, do this:

acl_for_portX:
<acl statements>

acl_for_portY:
<acl statements>

top_level_acl_for_rcpt:
accept acl = acl_for_port$interface_port

(Where X and Y are numbers, of course.) And similarly for
$interface_address.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.