Postfilter is a Perl filter for Internet Net News (innd) that checks all messages sent by local users searching for spam and invalid content. Although it's designed for large sites that need a complex tool, it could also be used by local or private servers.
| Tags | Communications Usenet News |
|---|---|
| Licenses | BSD Original |
| Operating Systems | POSIX |
| Implementation | Perl |
Recent releases


Changes: This release solves a few bugs and adds some minor features (mostly good support for URIBLs and a better way to handle the Date header).


Changes: Postfilter now supports DNSLBL, is able to block all connections that come from TOR without external programs, and is able to correctly process articles that come from stdin. Users can include their own rules without touching the source code. Several bugs were fixed.


Changes: The old single configuration file (postfilter.conf) was split into many smaller files. The logging subsystem is much better. The multipost can be allowed. Articles that come from TOR nodes can be rejected. There are many bugfixes.


Changes: Groups that need auto-approved messages (notably alt.sysadmin.recovery) are now supported. Allowed Content-Types can be configured per group. By default, only "text/plain" is allowed for all (only control.* has its own rules). Forbidden HTML tags can be configured, and some group can be excluded by this check. Forgeries of system headers can be easily blocked. Control cancels and Supersedes are separately handled. Now UUEncoded binaries can be rejected if $config{'allow_uuencode'} is set to "false". Before this, the only way to ban UUEncode was through the banlist.


Changes: This release uses 'delete $hdr{'Header'};' instead of '$hdr{'Header'} = undef;'. The behavior of postfilter when an error is found inside banlist.conf is configurable. The maximum difference between the number of groups in Followup-To and in Newsgroups can be set. Articles that include the same groups inside Newsgroups: and Followup-To: can be rejected. Articles that come from TOR exit nodes can be filtered. A new tool, postfilter-legal.pl, can query and expire legal.log.