Re: url blacklist
Bill Cole <[email protected]> Wed, 12 Nov 2025 11:43:27 -0500
| Newsgroups | gmane.mail.spam.spamassassin.general |
|---|---|
| Message-ID | <[email protected]> |
On 2025-11-12 at 05:45:16 UTC-0500 (Wed, 12 Nov 2025 11:45:16 +0100) natan <[email protected]> is rumored to have said: > Hi > How in SA smart tag a url blacklist ? > > https://hole.cert.pl/domains/v2/domains.txt > > Is any solutions list + redis or sq3 ors sql ? > -- I am not aware of any existing solution for turning a list of domains into a blacklist. However, it would be fairly simple to take that list and convert it in to a config file that SA can use by wrapping the list in enlist_uri_host() config lines, e.g. something like this: curl https://hole.cert.pl/domains/v2/domains.txt | \ sed 's/^.*$/enlist_uri_host(MyList) &/' >/etc/mail/spamassassin/MyList.cf You can then use the methods in WLBLEval.pm to construct rules for the list named "MyList". -- Bill Cole [email protected] or [email protected] (AKA @[email protected] and many *@billmail.scconsult.com addresses) Not Currently Available For Hire