mirror of
https://github.com/MailScanner/v5.git
synced 2024-09-20 23:36:24 +08:00
Merge pull request #45 from asuweb/MailWatch-RBL
Adds rblspamreport to returned array for use in custom functions
This commit is contained in:
commit
b755557d9e
|
@ -89,6 +89,7 @@ $VERSION = substr q$Revision: 5099 $, 10;
|
|||
# $isspam set by IsSpam
|
||||
# $issaspam set by IsSpam
|
||||
# $isrblspam set by IsSpam
|
||||
# $rblspamreport set by IsSpam
|
||||
# $ishigh set by IsSpam
|
||||
# $sascore set by IsSpam
|
||||
# $spamreport set by IsSpam
|
||||
|
@ -722,6 +723,8 @@ sub IsSpam {
|
|||
# front of the spam report.
|
||||
$this->{isspam} = 1 if $RBLsaysspam;
|
||||
$this->{isrblspam} = 1 if $RBLsaysspam;
|
||||
$this->{rblspamreport} = "";
|
||||
$this->{rblspamreport} = $rblspamheader if $RBLsaysspam;
|
||||
$this->{ishigh} = 1 if $rblcounter >= $highrblthreshold;
|
||||
}
|
||||
# rblspamheader is useful start to spamreport if RBLsaysspam.
|
||||
|
|
Loading…
Reference in a new issue