You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by gb...@apache.org on 2018/11/05 12:06:13 UTC

svn commit: r1845779 - /spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf

Author: gbechis
Date: Mon Nov  5 12:06:13 2018
New Revision: 1845779

URL: http://svn.apache.org/viewvc?rev=1845779&view=rev
Log:
cope with spam changes

Modified:
    spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf

Modified: spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf?rev=1845779&r1=1845778&r2=1845779&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf Mon Nov  5 12:06:13 2018
@@ -6,6 +6,6 @@ uri GOOGLE_OBFU	/^https:\/\/www\.google\
 describe GOOGLE_OBFU	Obfuscate url through Google redirect
 
 uri             __URI_SHORT     /https?:\/\/(?:j\.mp|bit\.ly|goo\.gl|x\.co|t\.co|t\.cn|tinyurl\.com|hop\.kz|urla\.ru|fw\.to|back\.ly)(\/)/i
-header          __COPY_OF       Subject =~ /Copy of:/
+header          __COPY_OF       Subject =~ /Copy of:|offers for you/
 meta            COPY_OF_SHORT   ( __URI_SHORT && __COPY_OF && __KAM_BODY_LENGTH_LT_1024 )
 describe        COPY_OF_SHORT   Url shortnener spam



Re: svn commit: r1845779 - /spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf

Posted by Henrik K <he...@hege.li>.
On Mon, Nov 05, 2018 at 12:06:13PM -0000, gbechis@apache.org wrote:
> Author: gbechis
> Date: Mon Nov  5 12:06:13 2018
> New Revision: 1845779
> 
> URL: http://svn.apache.org/viewvc?rev=1845779&view=rev
> Log:
> cope with spam changes
> 
> Modified:
>     spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf
> 
> Modified: spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf
> URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf?rev=1845779&r1=1845778&r2=1845779&view=diff
> ==============================================================================
> --- spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf (original)
> +++ spamassassin/trunk/rulesrc/sandbox/gbechis/20_misc.cf Mon Nov  5 12:06:13 2018
> @@ -6,6 +6,6 @@ uri GOOGLE_OBFU	/^https:\/\/www\.google\
>  describe GOOGLE_OBFU	Obfuscate url through Google redirect
>  
>  uri             __URI_SHORT     /https?:\/\/(?:j\.mp|bit\.ly|goo\.gl|x\.co|t\.co|t\.cn|tinyurl\.com|hop\.kz|urla\.ru|fw\.to|back\.ly)(\/)/i

Should probably anchor the beginning for performance...

Also there's already __URL_SHORTENER in 20_khop_experimental.cf, perhaps not
re-invent the wheel again and update that?  Also SHORTENED_URL_SRC,
SHORTENED_URL_HREF probably need updating..