------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=471

           Summary: match_ip function usage;  error in example shown
           Product: Exim
           Version: 4.66
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: low
         Component: Documentation
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]


The documentation on match_ip{} (section 11.7) and the example code shown for
searches.  The file search function to use is the iplsearch{}, not lsearch{}.

Invalid
  "${if match_ip{$sender_host_address}{lsearch;/some/file}..."
  "${if match_ip{$sender_host_address}{net-lsearch;/some/file}..."

Corrected
  "${if match_ip{$sender_host_address}{iplsearch;/some/file}..."

-- 
Configure bugmail: http://www.exim.org/bugzilla/userprefs.cgi?tab=email

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-dev Exim details 
at http://www.exim.org/ ##

Reply via email to