Bug 7923 - RFE: Making HashBL email_whitelist a configurable feature
Summary: RFE: Making HashBL email_whitelist a configurable feature
Status: NEW
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Plugins (show other bugs)
Version: 3.4.6
Hardware: PC Linux
: P3 enhancement
Target Milestone: 4.0.0
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-18 10:23 UTC by Lars
Modified: 2021-09-22 21:13 UTC (History)
2 users (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Lars 2021-08-18 10:23:05 UTC
The HashBL plugin email_whitelist regex is hitting common address patterns used in phish emails. Making the email_whitelist an configurable option would be appreciated.

From the plugin:

my $VERSION = 0.101;
[...]
$self->{email_whitelist} = qr/
    ^(?:
        abuse|support|sales|info|helpdesk|contact|kontakt
      | (?:post|host|domain)master
      | undisclosed.*                     # yahoo.com etc(?)
      | request-[a-f0-9]{16}              # live.com
      | bounced?-                         # yahoo.com etc
      | [a-f0-9]{8}(?:\.[a-f0-9]{8}|-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}) # gmail msgids?
      | .+=.+=.+                          # gmail forward
    )\@
  /xi;