anomy-list

Empty emails and undefined value

From: Dawood Isaacs (120824@xyz.molar.is)
Date: Thu 25 Mar 2004 - 13:49:08 GMT

  • Next message: Dawood Isaacs: "Re: Empty emails and undefined value"

    A user complained after receiving a couple of empty emails. The To,Subject,Content fields were all blank. Only the From field had content.
    After checking the Anomy logs I picked up the following "undefined value" errors
    going back a while. It's was reported by version 1.67 and 1.66 (that's as far back
    as my logs go).
     
    Can't use an undefined value as a symbol reference at /usr/local/anomy-167/bin/Anomy/Sanitizer.pm line 1064.
    Can't use an undefined value as a symbol reference at /usr/local/anomy-166/bin/Anomy/Sanitizer.pm line 1064.

       1052 if ($conf->{"feat_testing"})
       1053 {
       1054 $$fn =~ s/\$/ $charray[ ($caf_inc++ % 35) ] /eg;
       1055 }
       1056 else
       1057 {
       1058 $$fn =~ s/\$/ $charray[ int(rand(35.99)) ] /eg;
       1059 }
       1060 }
       1061 while (($cnt++ < 5) &&
       1062 (!defined ($fh = IO::File->new($$fn, O_CREAT|O_EXCL|O_RDWR))));
       1063
       1064 binmode($fh);
       1065 return $fh;
     
    Does anyone know what could cause this problem ??
    Line is 1064 binmode($fh);
    My system
       Intel 866Mhz CPU, 512MB Ram, 2 x 9Gb Scsi HDD
       Red Hat Linux release 7.3 (Valhalla)
       Sendmail-8.11.6-23.73
       Anomy-Sanitizer-1.67
    THANKS

    ---------------------------------
    Do you Yahoo!?
    Yahoo! Finance Tax Center - File online. File on time.

    Attachments:
     + http://mailtools.anomy.net/archives/anomy-list//25/3f/4062e37f/01.unnamed.html



    hosted by molar.is