# 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 .exactag.com
url_redirector .hosted.phplist.com
url_redirector .href.li
url_redirector .maverickcrm.com
url_redirector .msn.com
url_redirector .msn.com.br
url_redirector .protection.sophos.com
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 clickeu.crmact.com
url_redirector email.mail.bloom.io
url_redirector email.mg.evista.hu
url_redirector iplogger.com
url_redirector link.sowl.to
url_redirector linklock.titanhq.com
url_redirector links.e.shopmyexchange.com
url_redirector mccarthysearch.com
url_redirector post.spmailtechnolo.com
url_redirector_get .pstmrk.it
url_redirector_get email.idxhome.co
url_redirector_get followup.cc
url_redirector_get google.ae
url_redirector_get google.al
url_redirector_get google.be
url_redirector_get google.ca
url_redirector_get google.co.ls
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 linksmail.geosolinc.com
url_redirector_get t.nypost.com

# generic list of likely active services

endif
