diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-27 13:54:44 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-27 13:54:44 +0000 |
commit | f42f2e524ff25001686e7c4c2dc7c40563dff3b8 (patch) | |
tree | 51435d5f46ac348418713ea25ec63e1edf8c0d0c /utils/cgp_rspamd.pl | |
parent | ab72879f47d29df1e044fab0cbbfd9c163875a96 (diff) | |
download | rspamd-f42f2e524ff25001686e7c4c2dc7c40563dff3b8.tar.gz rspamd-f42f2e524ff25001686e7c4c2dc7c40563dff3b8.zip |
[Minor] Use DISCARD instead of ERROR in CGP interface
Diffstat (limited to 'utils/cgp_rspamd.pl')
-rw-r--r-- | utils/cgp_rspamd.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |