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 2025/05/13 20:57:04 UTC
svn commit: r1925541 - in /spamassassin/trunk: rules/25_url_redirectors.cf rulesrc/sandbox/gbechis/25_url_redirectors.cf
Author: gbechis
Date: Tue May 13 20:57:04 2025
New Revision: 1925541
URL: http://svn.apache.org/viewvc?rev=1925541&view=rev
Log:
add URL redirector rules to default location
Added:
spamassassin/trunk/rules/25_url_redirectors.cf
Removed:
spamassassin/trunk/rulesrc/sandbox/gbechis/25_url_redirectors.cf
Added: spamassassin/trunk/rules/25_url_redirectors.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/25_url_redirectors.cf?rev=1925541&view=auto
==============================================================================
--- spamassassin/trunk/rules/25_url_redirectors.cf (added)
+++ spamassassin/trunk/rules/25_url_redirectors.cf Tue May 13 20:57:04 2025
@@ -0,0 +1,93 @@
+# SpamAssassin - URL redirector rules
+#
+# Please don't modify this file as your changes will be overwritten with
+# the next update. Use @@LOCAL_RULES_DIR@@/local.cf instead.
+# See 'perldoc Mail::SpamAssassin::Conf' for details.
+#
+# <@LICENSE>
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# </...@LICENSE>
+#
+###########################################################################
+
+# SpamAssassin 4.0.2 version required
+ifplugin Mail::SpamAssassin::Plugin::Redirectors
+
+uri __FACEBOOK_SHARER m;https?://(?:www\.)?facebook\.com/sharer/sharer\.php;i
+
+body __GEN_REDIR_URLB eval:redir_url()
+meta __GEN_REDIR_URL __GEN_REDIR_URLB && !__FACEBOOK_SHARER
+describe __GEN_REDIR_URL Message has one or more redirected URLs
+
+body REDIR_URL_CHAINED eval:redir_url_chained()
+describe REDIR_URL_CHAINED Message has redirected URL chained to other redirectors
+score REDIR_URL_CHAINED 0.01
+
+body REDIR_URL_MAXCHAIN eval:redir_url_maxchain()
+describe REDIR_URL_MAXCHAIN Message has redirected URL that causes too many redirections
+score REDIR_URL_MAXCHAIN 0.01
+
+body REDIR_URL_LOOP eval:redir_url_loop()
+describe REDIR_URL_LOOP Message has redirected URL that loops back to itself
+score REDIR_URL_LOOP 0.01
+
+#
+# Please only add entries that you manually verified as actual working
+# redirectors that can have abusable custom URLs. Adding non-abusable
+# services only generates unnecessary HTTP requests.
+#
+
+url_redirector .allaincemh.com
+url_redirector .australia4wdrentals.com
+url_redirector .awstrack.me
+url_redirector .benchurl.com
+url_redirector .blob.core.windows.net
+url_redirector .cc.rs6.net
+url_redirector .hosted.phplist.com
+url_redirector .href.li
+url_redirector .maverickcrm.com
+url_redirector .msn.com
+url_redirector .msn.com.br
+url_redirector .yandex.net
+url_redirector .yandex.ru
+url_redirector auctiva.com
+url_redirector bing.com
+url_redirector cdn.dragon.cere.network
+url_redirector channelchief.varindia.com
+url_redirector email.mail.bloom.io
+url_redirector email.mg.evista.hu
+url_redirector links.e.shopmyexchange.com
+url_redirector mccarthysearch.com
+url_redirector_get .pstmrk.it
+url_redirector_get followup.cc
+url_redirector_get google.ae
+url_redirector_get google.al
+url_redirector_get google.be
+url_redirector_get google.co.uk
+url_redirector_get google.com
+url_redirector_get google.com.af
+url_redirector_get google.com.ag
+url_redirector_get google.cz
+url_redirector_get google.fr
+url_redirector_get google.de
+url_redirector_get google.es
+url_redirector_get google.it
+url_redirector_get googleadservices.com
+url_redirector_get t.nypost.com
+
+# generic list of likely active services
+
+endif