Bug 7440 - parse_dkim_uris breaks __HAS_ANY_URI
Summary: parse_dkim_uris breaks __HAS_ANY_URI
Status: RESOLVED DUPLICATE of bug 7446
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Rules (show other bugs)
Version: unspecified
Hardware: PC FreeBSD
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-27 13:08 UTC by RW
Modified: 2017-08-06 18:15 UTC (History)
0 users



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 RW 2017-06-27 13:08:54 UTC
As discussed in the user list thread "body_uri with empty body"
"parse_dkim_uris 1" causes the domain from a DKIM signature to appear in the list of URIs causing __HAS_ANY_URI to fire even if there is no domain or URI in the body.

Domains parsed out of the body are prepended with http://, so in 72_active.cf, 

uri __HAS_ANY_URI   /./

can be replaced with 

uri __HAS_ANY_URI  /^\w+:\/\//
Comment 1 Karsten Bräckelmann 2017-08-06 18:15:51 UTC
Marking as duplicate of slightly later filed bug 7446 due to comments there.

*** This bug has been marked as a duplicate of bug 7446 ***