SpamAssassin plugin Outlook compatibility fix (Thanks to Gergely Risko)

git-svn-id: https://svn.perl.org/qpsmtpd/trunk@224 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Ask Bjørn Hansen 2004-03-11 09:34:38 +00:00
parent 8a0cca8ba3
commit 5c972e5506
2 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,11 @@
$Include feature in config/plugins $Include feature in config/plugins
0.27 - 2004/03/11
SpamAssassin plugin Outlook compatibility fix (Thanks to Gergely Risko)
0.27 - 2004/03/10 0.27 - 2004/03/10
Support for unix sockets in the spamassassin plugin (requires SA Support for unix sockets in the spamassassin plugin (requires SA

View File

@ -157,6 +157,7 @@ sub check_spam {
} }
my $tests = <SPAMD>; my $tests = <SPAMD>;
$tests =~ s/\015//; # hack for outlook
$flag = $flag eq 'True' ? 'Yes' : 'No'; $flag = $flag eq 'True' ? 'Yes' : 'No';
$self->log(6, "check_spam: finished reading from spamd"); $self->log(6, "check_spam: finished reading from spamd");