Skip to content

Instantly share code, notes, and snippets.

@Koopzington
Last active March 12, 2020 08:59
Show Gist options
  • Save Koopzington/5397a347321ff03fc085672e91fc3716 to your computer and use it in GitHub Desktop.
Save Koopzington/5397a347321ff03fc085672e91fc3716 to your computer and use it in GitHub Desktop.
# SpamAssassin - Querying the rspamd uribl
###########################################################################
# Requires the Mail::SpamAssassin::Plugin::URIDNSBL plugin be loaded.
ifplugin Mail::SpamAssassin::Plugin::URIDNSBL
urirhssub URIBL_RSPAMD uribl.rspamd.com. A 127.0.0.2
body URIBL_RSPAMD eval:check_uridnsbl('URIBL_RSPAMD')
describe URIBL_RSPAMD Contains an URL listed in the rspamd URI blocklist
tflags URIBL_RSPAMD net domains_only
endif # Mail::SpamAssassin::Plugin::URIDNSBL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment