Bug#278938: please provide possibility to match an address in a hostlist

Andreas Metzler Andreas Metzler <ametzler@downhill.at.eu.org>, 278938@bugs.debian.org
Thu, 4 Nov 2004 17:07:58 +0100


forwarded 278938 ftp://ftp.exim.org/pub/exim/exim4/WishList
thanks
On 2004-10-30 Andreas Barth <aba@not.so.argh.org> wrote:
> Package: exim4
> Severity: wishlist

> if I didn't understand it wrong, it's currently not possible to look if
> e.g. $sender_host_address is in some hostlist - but, it would IMHO make
> sense to do this, to write e.g.
> smtp_accept_max_per_host = ${if inlist{$sender_host_address}{+dontcheck}{5}{3}}

That is already on the wishlist
<ftp://ftp.exim.org/pub/exim/exim4/WishList> how for the time
being you'll need to use duplicate routers/acl and the hosts ...
condition to work around it.

-------------
| (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.
|
| 22-Apr-04: Implemented for domains, addresses, and local parts.
| Hosts are too messy!
-------------
             cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"