[root@mail-cbf] /usr/local/share/perl/5.22.1/Mail/SpamAssassin# diff -Bub RedisAddrList.pm.old RedisAddrList.pm
--- RedisAddrList.pm.old 2017-11-23 11:40:04.596673632 +0100
+++ RedisAddrList.pm 2017-11-23 13:13:35.653824497 +0100
@@ -133,14 +133,27 @@
$self->{'prefix'}.$addr.'_count',
$self->{'prefix'}.$addr.'_score' );
- if ( my $mailaddr = ($addr) =~ /^(.*)\|ip=none$/) {
+ if ( my ($mailaddr) = ($addr) =~ /^(.*)\|ip=none$/) {
# it doesn't have an IP attached.
# try to delete any per-IP entries for this addr as well.
# could be slow...
With the old syntax, the remove_entry subroutine in plugin searches using:
With the old syntax, the remove_entry subroutine in plugin searches using:
KEYS awl_1*
instead ofKEYS awl_localpart@domain*