Re: [exim] Broken helo/ehlo Check

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Mark T. Valites
CC: exim-users
Tárgy: Re: [exim] Broken helo/ehlo Check
On Tue, 11 Jan 2005, Mark T. Valites wrote:

> A 'match_ip_address' would be nice if it's not already on the wishlist.


It is, more or less:

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


The only sensible approach seems to be to allow IP address arguments only.  
Anything else should be diagnosed as an error. However, if a name appears in  
the list, a PTR lookup should be done. This may require a lot of refactoring   
in the code, because of the current assumption that were are (almost) always  
dealing with THE sending host.                                                
------------------------------------------------------------------------------


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