You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2021/08/18 10:23:05 UTC

[Bug 7923] New: Making HashBL email_whitelist a configurable feature

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7923

            Bug ID: 7923
           Summary: Making HashBL email_whitelist a configurable feature
           Product: Spamassassin
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Plugins
          Assignee: dev@spamassassin.apache.org
          Reporter: lars.einarsen@ntnu.no
  Target Milestone: Undefined

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;

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7923] RFE: Making HashBL email_whitelist a configurable feature

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7923

Bill Cole <bi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |3.4.6
           Priority|P2                          |P3
   Target Milestone|Undefined                   |4.0.0
           Severity|normal                      |enhancement

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7923] RFE: Making HashBL email_whitelist a configurable feature

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7923

Bill Cole <bi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Making HashBL               |RFE: Making HashBL
                   |email_whitelist a           |email_whitelist a
                   |configurable feature        |configurable feature
                 CC|                            |billcole@apache.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7923] RFE: Making HashBL email_whitelist a configurable feature

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7923

Henrik Krohns <ap...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |apache@hege.li
         Resolution|---                         |FIXED

--- Comment #1 from Henrik Krohns <ap...@hege.li> ---

Implemented new configs which override default regexes

hashbl_email_regex
hashbl_email_whitelist

Sending        trunk/lib/Mail/SpamAssassin/Plugin/HashBL.pm
Transmitting file data .done
Committing transaction...
Committed revision 1898649.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7923] Making HashBL email_whitelist a configurable feature

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7923

Lars <la...@ntnu.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lars.einarsen@ntnu.no

-- 
You are receiving this mail because:
You are the assignee for the bug.