Thanks Rafal,

FYI that I cleaned up your patch and committed it to trunk. It's a trivial patch that doesn't require a CLA because you really added one if loop and some documentation. However, if you could get a CLA on file for the ASF, it would help greatly if you submit anything more complex. Please see www.apache.org/licenses/#clas

Regards,
KAM

On 10/6/2014 4:51 AM, [email protected] wrote:
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7087

--- Comment #13 from Rafal Ramocki <[email protected]> ---
Created attachment 5245
   --> https://issues.apache.org/SpamAssassin/attachment.cgi?id=5245&action=edit
patch adding optional re-enabling searching dkim headers for uris.

AXB: It is not about hacking URIBL plugin as it's code will remain intact.
Changing this will make uris available not only for URIDNSBL but also for other
rules (like "uri * /pattern/")

Kevin: I think about the same approach as You described. Please find an
attachment for adding option. I don't now if this name for it is acceptable. I
didn't found in code documentation pointed ind bug #6700 and available:

http://wiki.apache.org/spamassassin/WritingRules

So patch doesn't contain changes in this text. I suppose that this is rather
part of site than doc's. Below is change proposal;

URI rules

URI rules are very simple, normaly they only match text in the URI's contained
in plain text and HTML sections of mail. This is very handy for searching for
links containing spam advertised sites.

For example This rule will look for web links to www.example.com/OrderViagra/

uri LOCAL_URI_EXAMPLE   /www\.example\.com\/OrderViagra\//
score LOCAL_URI_EXAMPLE 0.1

Setting parse_dkim_uris to 1 (disabled by default) will additionaly try to
match pattern against domain in DKIM header if it exists.

I'm open for feedback and Your opinions.

best regards
Rafal Ramocki



--
*Kevin A. McGrail*
President

Peregrine Computer Consultants Corporation
3927 Old Lee Highway, Suite 102-C
Fairfax, VA 22030-2422

http://www.pccc.com/

703-359-9700 x50 / 800-823-8402 (Toll-Free)
703-798-0171 (wireless)
[email protected] <mailto:[email protected]>

Reply via email to