Skip to content

Commit

Permalink
Fix reporting spam to razor https://www.virtualmin.com/node/52283
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed May 26, 2017
1 parent 1c4cb43 commit 373c314
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mailbox/reply_mail.cgi
Expand Up @@ -293,8 +293,8 @@ else {
}

my $cmd = $mode eq "razor" ? &spam_report_cmd()
: &ham_report_cmd();
open(my $OUT, "<", "$cmd <$temp 2>&1 |");
: &ham_report_cmd();
open(my $OUT, "$cmd <$temp 2>&1 |");
my $error;
while(<$OUT>) {
print &html_escape($_);
Expand Down

0 comments on commit 373c314

Please sign in to comment.