Browse Source

[Minor] Use DISCARD instead of ERROR in CGP interface

tags/1.5.0
Vsevolod Stakhov 7 years ago
parent
commit
f42f2e524f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      utils/cgp_rspamd.pl

+ 1
- 1
utils/cgp_rspamd.pl View File

@@ -86,7 +86,7 @@ sub rspamd_scan {
$file, $id, $def->{'score'}, $def->{'required_score'}, $symbols;

if ( $action eq 'reject' ) {
print "$tag ERROR " . cgp_string($reject_message) . "\n";
print "$tag DISCARD\n";
}
elsif ( $action eq 'add header' || $action eq 'rewrite subject' ) {
print "$tag ADDHEADER " . cgp_string($header) . " OK\n";

Loading…
Cancel
Save