🚀 EFA-NG 6.0.7 is now available!
Release Date: 2026-10-30
Platform: CentOS Stream 10 / EL10 / EL9 (PHP 8.3+, Postfix, MailScanner 5, MailWatch-NG)
📋 Summary of Changes
Added
- MailWatch-NG Filter Builder:
AND / OR Condition Logic & Match Mode Switcher:
- Interactive logic selector (
AND / OR) added to the Add Filter criteria row (filter-col-logic), remembering user selection across subsequent conditions.
- One-click interactive
AND (slate badge) / OR (amber badge) toggle chips displayed directly between active filter criteria.
- Global match-mode switcher (
Match: [ALL (AND)] [ANY (OR)]) enabling instant bulk switching between conjunctive (AND) and disjunctive (OR) filtering.
- Grouped SQL clause isolation: user filter conditions are strictly encapsulated in
AND ( cond1 OR cond2 ... ), eliminating operator precedence conflicts and guaranteeing full isolation for domain/user access restrictions ($_SESSION['global_filter']).
- Enhanced human-readable filter history tracking: correctly formats multi-clause filter summaries (e.g.
To contains "help" OR To contains "abuse").
- Database schema & migration support: added
logic column to saved_filters table in create.sql and upgrade.php with backward-compatible fallback for legacy databases.
- Cache-Busting & Web Asset Optimization:
- Added automatic
filemtime timestamp versioning (style.css?v=<filemtime>) in functions.php to ensure client browsers immediately load fresh CSS without manual cache clearing.
- Security & Package Updates:
- Updated PHP 8.4 runtime packages to 8.4.27-2 addressing CVE-2026-109618 and CVE-2026-109619.
- Fixed cron automated rule updates (
sa-compile and phishing feed synchronization).
- Regression Testing:
- Added new integration test suite (
tests/Integration/MWFilterLogicTest.php) verifying logic connectives, SQL grouping, toggle badges, switcher controls, and persistence across 11 test cases and 63 assertions.
âš¡ Quick Upgrade & Installation
Option 1: Interactive CLI Console (Recommended)
Connect via SSH as root, run eFa-Configure and select 13) Update System & Packages.
Option 2: Direct DNF Update
dnf clean all && dnf -y update eFa MailWatch && systemctl reload php-fpm httpd postfix
Option 3: New Installations / Automated Build
curl -sSL https://raw.githubusercontent.com/kit400/EFA-NG/main/build/build.bash | bash
🔗 Resources & Documentation