> Correct.  I installed v2.005 and no longer see the error I originally 
> posted

Looks like we need to test for the specific version of Mail::SPF that's 
available:

  if ($CanUseSPF2) {
   $ver        = eval('Mail::SPF->VERSION');
   $ver        =~ s/^v//gi; # strip leading 'v'
   $VerMailSPF2 = $ver;
   $ver        = " version $ver" if $ver;
   if ( $VerMailSPF2 >= 2.001 ) {
    mlog( 0, "Mail::SPF module$ver installed and available" );
   } else {
    mlog( 0, "Mail::SPF module$ver installed but must be >= 2.001" );
    mlog( 0, "Mail::SPF will not be used." );
    $CanUseSPF2 = 0;
   }
  } elsif ($AvailSPF2) {
   $ver = eval('Mail::SPF->VERSION');
   $ver =~ s/^v//gi; # strip leading 'v'
   $ver = " version $ver" if $ver;
   mlog( 0, "Mail::SPF module$ver installed but Net::DNS required" );
  } else {
   mlog( 0, "Mail::SPF module not installed" ) if $ValidateSPF;
  } 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to