Update of /cvsroot/popfile/engine/Classifier
In directory sc8-pr-cvs1:/tmp/cvs-serv9255/Classifier
Modified Files:
Bayes.pm
Log Message:
Quarantined messages do not have XTC, XPL and subject modification applied to them, that happens to the quarantine wrapper
Index: Bayes.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Classifier/Bayes.pm,v
retrieving revision 1.102
retrieving revision 1.103
diff -C2 -d -r1.102 -r1.103
*** Bayes.pm 24 Feb 2003 23:08:47 -0000 1.102
--- Bayes.pm 24 Feb 2003 23:40:19 -0000 1.103
***************
*** 884,889 ****
# Don't add the classification unless it is not present
if ( !( $msg_subject =~ /\[$classification\]/ ) &&
! ( $self->{parameters}{$classification}{subject} == 1 ) &&
! ( $self->{parameters}{$classification}{quarantine} == 0 ) ) {
$msg_subject = " [$classification]$msg_subject";
}
--- 884,888 ----
# Don't add the classification unless it is not present
if ( !( $msg_subject =~ /\[$classification\]/ ) &&
! ( $self->{parameters}{$classification}{subject} == 1 ) ) {
$msg_subject = " [$classification]$msg_subject";
}
|