![]() |
![]()
| ![]() |
![]()
NAMERedirectors - Check for redirected URLs SYNOPSISloadplugin Mail::SpamAssassin::Plugin::Redirectors url_redirector bing.com body HAS_REDIR_URL eval:redir_url() describe HAS_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 body REDIR_URL_CHAINED_DOM eval:redir_url_chained_domain() describe REDIR_URL_CHAINED_DOM Message has redirected URL chained to another redirector on the same domain body REDIR_URL_MAXCHAIN eval:redir_url_maxchain() describe REDIR_URL_MAXCHAIN Message has redirected URL that causes too many redirections body REDIR_URL_LOOP eval:redir_url_loop() describe REDIR_URL_LOOP Message has redirected URL that loops back to itself body REDIR_URL_404 eval:redir_url_code('404') # Can check any non-redirect HTTP code describe REDIR_URL_404 Message has redirected URL returning HTTP 404 DESCRIPTIONThis plugin looks for URLs redirected by a list of URL redirector services. Upon finding a matching URL, plugin will send a HTTP request to the redirector service and retrieve the Location-header which points to the actual redirected URL. It then adds this URL to the list of URIs extracted by SpamAssassin which can then be accessed by uri rules and plugins such as URIDNSBL. This plugin will follow chained redirections, where a redirected URL redirects to another redirector. Redirection depth limit can be set with "max_redir_url_redirections". Maximum of "max_redir_urls" redirected URLs are checked in a message (10 by default). Setting it to 0 disables HTTP requests, allowing only redir_url() test to work and report found redirectors. All supported rule types for checking redirector URLs and redirection status are documented in SYNOPSIS section. NOTESThis plugin runs at the check_dnsbl hook (priority -100) so that it may modify the parsed URI list prior to normal uri rules or the URIDNSBL plugin. USER SETTINGS
PRIVILEGED SETTINGS
ADMINISTRATOR SETTINGS
|