Regex to Block URL Shorteners? - ORF Forums

Regex to Block URL Shorteners? RSS Back to forum

1

Getting lots of spam from bit.ly and other url shorteners as the link in e-mails. Passing all other tests.

by _ 3 years ago
2

@_: Hello by_ !

If you have not done so already, please enable the 'Blacklists > SURBL Test' and make sure that the 'SURBL: Combined SURBL list' and 'Spamhaus DBL' SURBLs are enabled. SURBLs are lists of websites (typically) that have appeared in unsolicited messages. ORF uses these to detect "spamvertised" URLs in messages. You can learn more about the SURBL Test at http://vamsoft.com/support/docs/orf-help/5.4/adm-urlblacklist

In case the above does not help, you may try to add the following regex to the "User-Defined URL Domain Blacklist" (Click 'Configure' at the bottom of the SURBL Test page):

.*(bit.ly|ow.ly|etc|etc|etc).*

Please make sure that you select the "Regular expression (Perl-comaptible)" expression type in the 'Domain Expression' dialog and that you save the ORF configuration afterwards, in order to apply the changes ('Ctrl + S' or 'File > Save Configuration')

Let me know if you need any further assistance.

by Daniel Novak (Vamsoft) 3 years ago
(in reply to this post)

3

bit.ly should get blocked if you enable the spamhouse dbl as mentioned above and check the 127.0.1.10x codes.
Blacklisted by the SPAMHAUS-DBL SURBL (domain: "bit.ly", DNS lookup result: 127.0.1.103).
You can read more here: https://www.spamhaus.org/faq/section/Spamhaus%20DBL#291

HTH
Norbert

by NorbertFe 3 years ago

New comment

Fill in the form below to add a new comment. All fields are required. If you are a registered user on our site, please sign in first.

It will not be published.
hnp1 | hnp2