Skip to content

[Resolv] Decoded URL not add in URI list #8

Description

@jm-edard

Version:
SpamAssassin version 3.4.1
running on Perl version 5.24.1
with: DecodeShortURLs.pm version 0.11

Test: mail with a url byt.ly link to "google.com"

Result:

mars  7 12:11:16.308 [29615] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
mars  7 12:11:17.640 [29615] dbg: config: fixed relative path: /etc/spamassassin/DecodeShortURLs.pm
mars  7 12:11:17.641 [29615] dbg: plugin: loading Mail::SpamAssassin::Plugin::DecodeShortURLs from /etc/spamassassin/DecodeShortURLs.pm
mars  7 12:11:20.811 [29615] dbg: plugin: Mail::SpamAssassin::Plugin::DecodeShortURLs=HASH(0x5561f0d2ae08) implements 'parsed_metadata', priority -1
mars  7 12:11:21.055 [29615] dbg: DecodeShortURLs: Found http://bit.ly/1dNVPAW => http://www.google.com/
(...) 
mars  7 12:12:56.822 [46930] dbg: uridnsbl: considering host=bit.ly, domain=bit.ly
mars  7 12:12:56.898 [46930] dbg: uridnsbl: complete_dnsbl_lookup URIBL_WS_SURBL DNSBL:bit.ly:multi.surbl.org
mars  7 12:12:56.898 [46930] dbg: uridnsbl: complete_dnsbl_lookup URIBL_CR_SURBL DNSBL:bit.ly:multi.surbl.org
(...) 
  • uridnsbl scan byt.li
  • SHORT_URIBL match
  • DecodeShortURLs Found the link
    BUT uridnsbl doesn't scan google.com !
# spamassassin -D <test.eml  2>&1 | grep -i "google"
mars  7 12:15:27.662 [14082] dbg: DecodeShortURLs: Found cached http://bit.ly/1dNVPAW => http://www.google.com/

I have try with more domain, this is the same, the decoded url is not add to URL to scan on the mail.

Regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions