Spam log larını incelediğim de bu şekilde bir hata ile karşılaştım ben
spamassassin in çalıştıgını zannerderken maalesef hiç çalışmamış 1762 ve
1764 satıları incelediğimde user_prefs klasoru ile ilgili bir problem
oldugunu düşündüm yardımlarınız için şimdiden teşekkürler

 

/usr/local/bin/spamd

 

  #

  # If vpopmail config enabled then set $dir to virtual homedir

  #

  if ( $opt{'vpopmail'} ) {

    my $vpopdir = $dir;

    $dir = `$vpopdir/bin/vuserinfo -d \Q$username\E`;

    if ($? != 0) {

      #

      # If vuserinfo failed $username could be an alias

      #

      $dir = `$vpopdir/bin/valias \Q$username\E`;

      if ($? == 0 && $dir !~ /.+ -> &/) {

        $dir =~ s,.+ -> (/.+)/Maildir/,$1,;

      } else {

        undef($dir);

      }

    }

    chomp($dir);
// 1762 Satır      

  }

  my $cf_file = $dir . "/.spamassassin/user_prefs";                    //
1764 Satır

 

 

 

/var/log/spamd.log

 

Sep  9 21:23:08 lizard spamd[2841]: prefork: child states: II

Sep  9 21:23:58 lizard spamd[2846]: spamd: connection from
localhost.domain.com [127.0.0.1] at port 51624

Sep  9 21:23:58 lizard spamd[2846]: Use of uninitialized value in scalar
chomp at /usr/local/bin/spamd line 1762, <GEN6> line 2.

Sep  9 21:23:58 lizard spamd[2846]: Use of uninitialized value in
concatenation (.) or string at /usr/local/bin/spamd line 1764, <GEN6> line
2.

Sep  9 21:23:59 lizard spamd[2846]: spamd: processing message
<[EMAIL PROTECTED]> for vpopmail:89

Sep  9 21:24:05 lizard spamd[2846]: spamd: clean message (-0.8/5.0) for
vpopmail:89 in 6.5 seconds, 3058 bytes.

Sep  9 21:24:05 lizard spamd[2846]: spamd: result: . 0 -
ALL_TRUSTED,AWL,HTML_MESSAGE,MIME_HTML_MOSTLY
scantime=6.5,size=3058,user=vpopmail,uid=89,required_score=5.0,rhost=localho
st.
domain.com,raddr=127.0.0.1,rport=51624,mid=<005601c7f30e$98808640$c98192c0$@
com>,autolearn=ham

Sep  9 21:24:05 lizard spamd[2841]: prefork: child states: II

Répondre à