Re: [Exim] Flat-file wildcard lookup in an ACL condition

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Adam D. Barratt
Assunto: Re: [Exim] Flat-file wildcard lookup in an ACL condition
On Wed, 1 Oct 2003, Adam D. Barratt wrote:

> We have a file (/etc/exim4/blocked/domains) which contains entries such as:
>
> domain1
> *.domain1
> domain2
> *.domain2
>
> and is used as part of a `senders' clause in the RCPT ACL. That part works
> fine. I'm trying to extend this to add a log warning if the connecting
> host's HELO matches any entry in the file. As there isn't a `helos' clause
> (that would just be too easy :>), I'm trying to fashion something using a
> `condition' clause.


Maybe the key word you need is "wildlsearch", as long as you are using
4.11 or later.


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