Help for this page

Select Code to Download


  1. or download this
    sub mlog {
     my $fh=shift;
    ...
     print DEBUG  $m;
     if($logfile && open(LOG,">>$logfile")) {print LOG $m; close LOG;}
    }
    
  2. or download this
      if(onwhitelist($fh,$this->{header})) {
       setmaillog(0,$fh);
       isnotspam($fh);
       mlog($fh,'local or whitelisted');
      }