Re: [exim] Broken helo/ehlo Check

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Tony Finch
Data:  
Para: Mark T. Valites
CC: exim-users
Asunto: Re: [exim] Broken helo/ehlo Check
On Tue, 11 Jan 2005, Mark T. Valites wrote:
>
>   deny  message = Your host is using one of my IP addresses as its HELO/EHLO greeting. If you believe you are receiving this message in error, please email postmaster@???.
>         hosts = !@[]
>         condition = ${if match_address{$sender_helo_name}{$interface_address}{true}{false}}


match_address matches email addresses, not host names. It's for address
lists not host lists. You can, perhaps, abuse match_domain to do what you
want:

    condition = ${if match_domain{$sender_helo_name} \
                                     {$interface_address : @[]} \
                         {yes} {no} }


This deals with both the bare IP address case and the IP literal case.

> 25831 processing "deny"
> 25831 check hosts = !@[]
> 25831 host in "!@[]"? yes (end of list)
> 25831 address match: subject=bofh.cit.geneseo.edu pattern=192.168.1.87
> 25829 child 25831 ended: status=0xb


Hmm, looks like a bug.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}