You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kromonos 5b884744e4 Merge with current blocklist 1 day ago
.vscode Closes #1 6 months ago
Documents Move asn block script to own folder 5 months ago
Mastodon blocks Merge with current blocklist 1 day ago
Scripts Add link to original 4 months ago
.editorconfig Set indent to 2 for hjson 7 months ago
.gitignore Add more to ignore 7 months ago
.htaccess Add some basic dot files 10 months ago
20_toxic_artists.cf Add dzikawa as toxic artist! 1 month ago
README.md Small link change 4 months ago
adguard_filter.txt oops 3 months ago
archive.ip.txt Add IP list for archive crap 6 months ago
header_check.pcre Update postfix header checks 3 months ago
lemmy-slur_filter.hjson Update description 2 months ago
opchache_tweaks.cfg Add opcache tweaks 3 weeks ago

README.md

Useful Files

Collection of some useful files, mostly for fighting spam and trolls.

Features

/Documents contains some useful documents to use for different purposes
/Mastodon blocks contains blocklists for mastodon to keep your timeline clean
/Scripts contains scripts to use, in example the script to block whole ASN via iptables
.editorconfig Example editorconfig file
.gitignore Example gitignore file
.htaccess Example htaccess file
20_toxic_artists.cf Spamassassin ruleset to add points to toxic "artists" and declare them as spam
header_check.pcre Postfix header check to directly reject as spam declared emails from 20_toxic_artists.cf
adguard_filter.txt Filterset for AdGuard to remove the comment fields from news sites. We want newsand not unqualified comments
archive.ip.txt IP addresses used by archive.org and archive.is, if you want to block them
lemmy-slur_filter.hjson Lemmy slur filter regex to keep your Lemmy instance clean. Used on fapsi.be

Requirements

  • Mastodon account and/or
  • Postfix installation with header checks and/or
  • Spamassassin

Installation

AdGuard Filter

Open the AdGuard settings, select Filters -> Custom -> Add custom filter
Enter the URL to the RAW output of adguard_filter.txt and follow the instructions

Mastodon blocklists

Goto Settings -> Import and export -> Import
Select the type you want to import with the dropdown and upload the file.

Spamassassin

Copy 20_toxic_artists.cf to /etc/spamassassin/ and reload spamassassin

Postfix

Copy header_check.pcre to /etc/postfix/filter/ and make sure, your postfix main.cf contains following line:

header_checks = pcre:/etc/postfix/filter/header_check.pcre

Contributors

Fork this project and create pull requests or create an issue.

License

CC BY-NC-SA 4.0