Regex to Block URL Shorteners? - ORF Forums

Regex to Block URL Shorteners? RSS Back to forum


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

by _ 4 years ago

@_: 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

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):


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) 4 years ago
(in reply to this post)

3 should get blocked if you enable the spamhouse dbl as mentioned above and check the codes.
Blacklisted by the SPAMHAUS-DBL SURBL (domain: "", DNS lookup result:
You can read more here:


by NorbertFe 4 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