Re: [exim] Reject connects from hostnames containing special…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Giuliano Gavazzi
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Reject connects from hostnames containing special words
At 11:14 am +0200 2004/09/16, C.Kuesters@??? wrote:
>Hi!
>
>Is it possible to reject a connection if the senders hostname
>contains a special word/part in it? I would like to reject
>a connection if the looked up hostname contains a "adsl" part
>in it.
>
>I tried
>
>deny host = \N^\adsl$\N
>
>but that doesn't work. Does anyone knows how to get this working ?
>I can't believe exim won't allow this, even it won't make much
>sense to some out there, but we need it. :)


in addition to the advice on the correct syntax you already had, may
I suggest that you use an expression where at least you check for a
series of digits after the adsl (with optional other characters) or
you will reject mail from adsl.com adsl.co.uk adsl2go.co.uk etc. (and
perhaps you will also not be able to send mail to them). Unless of
course your needs are very particular.

Giuliano