Adapt regex to match queued emails when spam filtering is disabled
This commit is contained in:
parent
905bfdce90
commit
85fb39af13
|
@ -87,8 +87,8 @@ while (<STDIN>) {
|
|||
next;
|
||||
}
|
||||
|
||||
# Queued, not tagged as spam, those are the clean emails
|
||||
elsif ($line =~ m/queued\s+<.*>\s+No,\s+(score|hits)=/){
|
||||
# Queued, not tagged as spam (or spam filtering disabled), those are the clean emails
|
||||
elsif ($line =~ m/queued\s+<.*>(\s+No,\s+(score|hits)=.+)?/){
|
||||
$cnt{queued}++;
|
||||
next;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue