๐ก๏ธ Critical Security Update
Version 1.5.1 fixes a critical security gap where emails were not being scanned for viruses. All users should update immediately.
๐ What's New in v1.5.0 - v1.5.2
This release includes three important updates with critical security fixes, bug fixes, and installation improvements:
v1.5.1 Critical Security Fixes
Released October 18, 2025
-
๐ก๏ธ ClamAV Antivirus Integration
Integrated virus scanning into email pipeline; all attachments now scanned before delivery -
๐ง Virus Detection Headers
Added X-Virus-Detected and X-Virus-Names headers -
๐ซ Automatic Quarantine
Infected emails automatically quarantined with +20 spam points
v1.5.0 Bug Fixes & UI Enhancements
Released October 18, 2025
-
๐ Spam Headers Database Storage
Fixed critical bug where spam headers weren't being stored in database -
๐งน Duplicate Header Removal
Removed duplicate X-SpaCy-Spam-Score header (kept X-Spam-Score-Total) -
๐ง Thread Analysis Header Fix
Removed misleading "disabled" header when thread analysis was actually running -
๐ Spam Score Breakdown UI
Added detailed spam score breakdown section to email detail view -
๐๏ธ Email Cleanup Config Card
Added cleanup configuration card to admin dashboard -
๐ Relay Port Support
Added relay_port column to client_domains table for non-standard SMTP ports -
โ๏ธ System Settings Table
Added system_settings table for centralized configuration
v1.5.2 Installation Fixes
Released October 18, 2025
-
๐ฆ Cleanup Script Deployment
Fixed installer not deploying cleanup_expired_emails.py -
โฐ Cron Job Auto-Configuration
Added automatic cron job setup for daily email cleanup (2 AM) -
๐จ Cron Package Dependency
Added cron to core packages (fixes minimal Ubuntu installations) -
๐ Cleanup Log File
Auto-creates cleanup.log with proper permissions
New Feature Email Retention System
v1.4.0 - v1.5.2
-
๐๏ธ Email Retention System
Automated deletion of emails older than retention period (default: 30 days)
๐ฅ Installation & Upgrade
Fresh Installation:
curl -sSL http://install.openefa.com/install.sh | sudo bash
Upgrade from v1.4.x or earlier:
cd /opt/openefa-installer
git pull origin main
# Update email filter with antivirus integration
sudo cp openefa-files/email_filter.py /opt/spacyserver/
sudo chown spacy-filter:spacy-filter /opt/spacyserver/email_filter.py
sudo chmod 755 /opt/spacyserver/email_filter.py
# Deploy cleanup script
sudo cp openefa-files/cleanup_expired_emails.py /opt/spacyserver/
sudo chown spacy-filter:spacy-filter /opt/spacyserver/cleanup_expired_emails.py
sudo chmod 755 /opt/spacyserver/cleanup_expired_emails.py
# Update web interface
sudo cp -r openefa-files/web/* /opt/spacyserver/web/
sudo chown -R spacy-filter:spacy-filter /opt/spacyserver/web
# Set up cron job
(sudo crontab -u spacy-filter -l 2>/dev/null || true; echo "0 2 * * * /opt/spacyserver/venv/bin/python3 /opt/spacyserver/cleanup_expired_emails.py >> /opt/spacyserver/logs/cleanup.log 2>&1") | sudo crontab -u spacy-filter -
# Apply database changes
sudo mysql -u root -p spacy_email_db < sql/schema_v1.sql
# Restart services
sudo systemctl restart spacy-db-processor
sudo systemctl restart spacyweb
โ Verification
Check Antivirus Integration:
systemctl status clamav-daemon
sudo tail -f /opt/spacyserver/logs/email_filter_debug.log | grep -i virus
Check Cleanup Script:
ls -lh /opt/spacyserver/cleanup_expired_emails.py
sudo crontab -u spacy-filter -l | grep cleanup
tail -20 /opt/spacyserver/logs/cleanup.log
Test Cleanup Manually:
sudo -u spacy-filter /opt/spacyserver/venv/bin/python3 /opt/spacyserver/cleanup_expired_emails.py
๐ Summary
3
Critical Fixes
2
New Features
10
Enhancements
Total: 15 features/fixes across 14 files