Not sure if anyone else has, but here's one I whipped up:
(1) Open
/etc/mail/spamassassin/local.cf
(2) Add the snippet at the bottom of the file
Code:
ifplugin Mail::SpamAssassin::Plugin::DNSEval
header URIBL_FRESHDOM eval:check_rbl_from_domain('fresh', 'fresh.dieinafire.com.', '127.0.0.2')
describe URIBL_FRESHDOM Header contains a URL listed in the fresh.dieinafire.com blacklist
tflags URIBL_FRESHDOM net
score URIBL_FRESHDOM 5.0
endif
(3) If desired, modify the "score" from 5.0 to whatever you would like the default score value to be
(4) If on a per-cPanel-user basis you would like to adjust the score, then adjust the score of "URIBL_FRESHDOM" accordingly as you would any other rule. This usually means using the cPanel UI for SpamAssassin or manually adding the custom score line into
/home/$user/.spamassassin/user_prefs
I am using
This has a bit modified settings for the usage of spamassasing, I have these location
[email protected] [/var/lib/spamassassin/3.004001/updates_spamassassin_org]# ls
./ 20_freemail.cf 20_ratware.cf 25_replace.cf 60_awl.cf MIRRORED.BY
../ 20_freemail_domains.cf 20_uri_tests.cf 25_spf.cf 60_shortcircuit.cf regression_tests.cf
10_default_prefs.cf 20_freemail_mailcom_domains.cf 20_vbounce.cf 25_textcat.cf 60_txrep.cf sa-update-pubkey.txt
10_hasbase.cf 20_head_tests.cf 23_bayes.cf 25_uribl.cf 60_whitelist.cf STATISTICS-set0-72_scores.cf.txt
20_advance_fee.cf 20_html_tests.cf 25_accessdb.cf 30_text_de.cf 60_whitelist_dkim.cf STATISTICS-set1-72_scores.cf.txt
20_aux_tlds.cf 20_imageinfo.cf 25_antivirus.cf 30_text_fr.cf 60_whitelist_spf.cf STATISTICS-set2-72_scores.cf.txt
20_body_tests.cf 20_mailspike.cf 25_asn.cf 30_text_it.cf 60_whitelist_subject.cf STATISTICS-set3-72_scores.cf.txt
20_compensate.cf 20_meta_tests.cf 25_dcc.cf 30_text_nl.cf 72_active.cf user_prefs.template
20_dnsbl_tests.cf 20_net_tests.cf 25_dkim.cf 30_text_pl.cf 72_scores.cf
20_drugs.cf 20_pdfinfo.cf 25_hashcash.cf 30_text_pt_br.cf 73_sandbox_manual_scores.cf
20_dynrdns.cf 20_phrases.cf 25_pyzor.cf 50_scores.cf languages
20_fake_helo_tests.cf 20_porn.cf 25_razor2.cf 60_adsp_override_dkim.cf local.cf
[email protected] [/var/lib/spamassassin/3.004001/updates_spamassassin_org]#
You think I should add the rules in another place? Thank you!