Logs
View and search email session tracking logs.
Session Tracking
Every email processed by SecZim is logged with detailed information. Go to Logs → Session Tracking to view.
Log Fields
- Timestamp: When the email was processed
- Sender: Email sender address
- Recipient: Email recipient address
- Client IP: Connecting server's IP
- Action: ACCEPT, REJECT, or DEFER
- Reason: Why the action was taken
- Module: Which security module triggered
Searching Logs
Filter logs by:
- Sender or recipient email
- Client IP address
- Action type (ACCEPT/REJECT/DEFER)
- Date range
- Specific module (RBL, Greylisting, etc.)
Export
Export logs in CSV format for external analysis:
- Apply desired filters
- Click "Export" button
- Download CSV file
Log Retention
Logs are retained based on your settings (default: 30 days). Configure in Settings → Log Retention.
System Logs
For daemon logs, use the command line:
# View recent logs
sudo journalctl -u seczim-daemon -n 100
# Follow logs in real-time
sudo journalctl -u seczim-daemon -f
# Filter by time
sudo journalctl -u seczim-daemon --since "1 hour ago"
API Access
Logs can also be accessed via the API. See API Documentation.