System Updates¶
Keeping Mailborder and dependencies up to date.
Update Types¶
Signature Updates (Automatic)¶
Virus signatures: Updated hourly by mb-cron Spam rules: Updated hourly GeoIP database: Updated weekly
Manual update:
Package Updates¶
Check for updates:
Update Mailborder:
Update all packages:
Update Procedure¶
Minor Updates (Security/Bug Fixes)¶
Safe to apply immediately:
-
Backup configuration:
-
Update package:
-
Reload services:
-
Verify:
Major Updates (Version Changes)¶
Requires planning:
- Read changelog and upgrade notes
- Test in staging environment
- Schedule maintenance window
- Backup everything
- Perform upgrade
- Run database migrations
- Verify functionality
Example procedure:
# Stop services
sudo mb-services stop
# Backup
sudo mb-backup --full
# Update
sudo apt update && sudo apt upgrade mailborder
# Run migrations (if needed)
sudo mb-migrate --apply
# Restart
sudo mb-services start
# Verify
sudo mb-status
sudo mb-doctor
Update Notifications¶
Enable update notifications:
sudo mb-config set system.check_updates true
sudo mb-config set system.update_notification_email admin@example.com
Check manually:
Rollback¶
If update causes issues:
-
Restore from backup:
-
Or downgrade package: