Hi all,
I am publishing the first public release candidate of Postfilter-NG:
Postfilter-NG 2026.07.5-rc2
Repository and release:
https://github.com/infybofh/postfilter-ng
Postfilter-NG is a modernized continuation of the original Postfilter
Perl hook for INN nnrpd.
The original philosophy remains unchanged: inspect articles submitted by >users, apply local posting policies, reject abusive or malformed
content, normalize selected headers, protect private information and
provide useful logs to the newsmaster.
The implementation, however, has been extensively rewritten and reorganized.
Among the main additions:
- modular Perl code instead of a single large script;
- TOML configuration and configuration fragments;
- separate handling of text and binary hierarchies;
- explicit protection against mixed text/binary crossposts;
- MIME parsing and attachment detection in text groups;
- detection of yEnc, UUencode and large Base64 blocks;
- configurable exemptions for PGP signatures, keys and certificates;
- header replacement, removal and pseudonymization;
- structured syslog logging with symbolic result codes;
- audit mode, quarantine and rejected-article storage;
- SQLite-backed history and audit information;
- last-known-good and emergency configuration fallback;
- command-line administration through postfilterctl;
- safer installation and manual activation;
- extensive documentation, examples and more than one thousand automated >tests.
Postfilter-NG can distinguish the text and binary worlds from the target >newsgroups. A binary article posted to a binary hierarchy can therefore
be accepted, while the same content posted to a text group can be rejected.
It can also remove or pseudonymize sensitive information from
Injection-Info while preserving local traceability for the server operator.
Performance has improved considerably. In the development benchmark, the >same workload required approximately:
Original Postfilter: 1200 ms
Postfilter-NG: 201 ms
This is about 5.5 times faster, despite the additional checks and
features. Naturally, real performance depends on configuration, article >size, enabled modules, logging and storage.
The installer does not automatically replace the active INN posting
hook. It installs a candidate named:
filter_nnrpd.pl.ng
The newsmaster can verify the configuration, permissions, database and >embedded Perl loading before manually activating it as filter_nnrpd.pl.
Please note that Postfilter-NG is an nnrpd posting filter. It is not >reloaded by:
ctlinnd reload filter.perl
That command applies to filter_innd.pl. Postfilter-NG is loaded when a
new nnrpd process starts.
This release candidate has been tested with real posts from Thunderbird
and raw NNTP sessions, including header transformations, anonymous
users, pseudonymization, SQLite concurrency and embedded-INN loading.
I still recommend starting in audit mode and checking the results
against real traffic before enabling rejection in production.
Bug reports, false-positive reports, performance results, unusual MIME >examples, documentation corrections and pull requests are welcome on GitHub.
The original Postfilter had a useful idea worth preserving.
The old guard at the posting gate is still there rCo it simply received a >rather extensive upgrade.
Special thanks to Paolo Amoroso (Aioe) to mantain it until 2018.
Sincerely
--
Ivo Gandolfo
Hi all,Hi all again,
Hi all,Hi all again,
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 60:06:43 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
4 files (9,632K bytes) |
| Messages: | 286,017 |