From: Vsevolod Stakhov Date: Mon, 27 Feb 2017 13:54:44 +0000 (+0000) Subject: [Minor] Use DISCARD instead of ERROR in CGP interface X-Git-Tag: 1.5.0~23 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f42f2e524ff25001686e7c4c2dc7c40563dff3b8;p=rspamd.git [Minor] Use DISCARD instead of ERROR in CGP interface --- diff --git a/utils/cgp_rspamd.pl b/utils/cgp_rspamd.pl index 6417646bf..c7c4cef85 100644 --- a/utils/cgp_rspamd.pl +++ b/utils/cgp_rspamd.pl @@ -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";