Re: [Exim] Feature request: 'sender_helo_name' ACL condition

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Matthias Waffenschmidt
CC: Tor Slettnes, exim-users
Assumpte: Re: [Exim] Feature request: 'sender_helo_name' ACL condition
On Tue, 9 Mar 2004, Matthias Waffenschmidt wrote:

> I was wondering that there is no generic expansion condition to test
> if a string is part of a list.
>
> Expansion conditions would be much more powerful with this extension
> and I guess it is not too much work to implement it.


It has been on the Wish List for quite some time:

------------------------------------------------------------------------------

(73) 17-Jul-02 M Match a list from within a condition

e.g.  ${if matchdomain {$domain}{+domainlist} ...
      ${if matchhost {$sender_host_address}{1.2.3.4/10:2.3.4.5/16}...


Thought needed about how to handle host names. This may be too messy to specify
cleanly.
------------------------------------------------------------------------------

The comment sums up the problem I foresaw at the time. I have not
revisted this recently, but since that date, Exim has been changed so
that the use of $sender_host_name automatically triggers an rDNS lookup.
That might help.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book