Re: [Exim] Matching HELO against valid hostnames

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Kevin Reed
CC: exim-users
Sujet: Re: [Exim] Matching HELO against valid hostnames
On Sat, 23 Aug 2003, Kevin Reed wrote:

> When comparing yahoo.com as the helo with a hostname of
> web13308.mail.yahoo.com [216.136.175.44] the above fails like:
>
> > > >>> processing "drop"
> > > >>> check set = ${lookup{$sender_helo_name}
> > > partial-lsearch{/usr/local/exim/helo-check} { ${if
> > > eq{$value}{}{$sender_helo_name}{$value}}}{}}
> > > >>>           =  yahoo.com
> > > >>> check condition = ${if and { {!eq{$acl_m9}{}}
> > > {!match{$sender_host_name}{${rxquote:$acl_m9}\N$\N}} } {yes}{no}}
> > > >>>                 = yes
> > > >>> check delay = 30s
> > > >>> delay modifier requests 30-second delay
> > > >>> drop: condition test succeeded
> > > 550 Administrative prohibition
> > > LOG: H=web13308.mail.yahoo.com [216.136.175.44] rejected
> > EHLO or HELO
> > > yahoo.com: HELO mismatch

>
> I'm guessing the match is wrong, perhaps it is not matching a sub of the
> whole hostname?


You might like to try addinig +expand to the debug option; it will show
you more details of the expansions. (It is not the default.)


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