From: Fritz B. <fb...@iw...> - 2008-01-30 20:43:21
|
ASSP development mailing list <ass...@li...> schreibt: > >That regex doesn't work well when analyzing the entrie email header >(as in >Mail Analyzer) because the match begins at the first 'Received: from' >encountered and therefore the first IP match is returned, not the IP >that >immediately preceeds 'by fallback...' the current code is if ( $ispHostnames && $mail =~ /(Received: from.{1,50}(\d+\.\d+\.\d+\.\d+).{1,50}by ($ispHostnamesRE))/is ) { |