Running openwebmail, the docs say to patch the DB_File.pm file with this 
patch for OWM to work correctly:
---
Please modify /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DB_File.pm by 
adding

  $arg[3] = 0666 unless defined $arg[3];

before the following text (about line 247)

  # make recno in Berkeley DB version 2 work like recno in version 1
---

After doing this, spamassassin --lint and sa-learn output a warning:
---
[30963] warn: Use of uninitialized value in subroutine entry at 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DB_File.pm line 283.
[30963] warn: Use of uninitialized value in subroutine entry at 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DB_File.pm line 283.
---

Line 283 being:
DoTie_($tieHASH, @arg) ;

with the lines above it being:
---
    $arg[3] = 0666 unless defined $arg[3];

    # make recno in Berkeley DB version 2 (or better) work like
    # recno in version 1.
    if ($db_version >= 4 and ! $tieHASH) {
        $arg[2] |= O_CREAT();
    }

    if ($db_version > 1 and defined $arg[4] and $arg[4] =~ /RECNO/ and
        $arg[1] and ! -e $arg[1]) {
        open(FH, ">$arg[1]") or return undef ;
        close FH ;
        chmod $arg[3] ? $arg[3] : 0666 , $arg[1] ;
    }
---

Is this a problem, or something that can be safely ignored? Running SA 
3.1.7 with local Bayes files for each user. Thanks.

Rob

Reply via email to