[exim-dev] [Bug 471] New: match_ip function usage; error in …

Etusivu
Poista viesti
Vastaa
Lähettäjä: bug471
Päiväys:  
Vastaanottaja: exim-dev
Aihe: [exim-dev] [Bug 471] New: match_ip function usage; error in example shown
------- 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: ph10@???
        ReportedBy: rossh@???
         QAContact: exim-dev@???



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