General Settings
Configure global settings for your SecZim installation.
Configuration File
SecZim's main configuration is stored in /etc/seczim/config.yaml:
# SecZim Configuration
license_key: "YOUR_LICENSE_KEY"
server:
policy_port: 10031
api_port: 8080
log_level: info
database:
host: localhost
port: 3306
name: seczim
user: seczim
password: "your_password"
features:
greylisting: true
rbl_checking: true
geo_blocking: false
quota_enforcement: true
Dashboard Settings
Most settings can be configured via the web dashboard under Settings:
- General: Server name, timezone, log retention
- Security: Admin password, session timeout
- Notifications: Email alerts configuration
- License: View and update license
Log Level
Available log levels (from most to least verbose):
- debug: Detailed debugging information
- info: General operational messages (default)
- warn: Warning messages only
- error: Error messages only
Changing Admin Password
Via the dashboard: Settings → Security → Change Password
Or via command line:
sudo seczim-cli set-password
Log Retention
Configure how long to keep session logs:
- Default: 30 days
- Minimum: 7 days
- Maximum: 365 days
Older logs are automatically purged to save disk space.
Tip
For high-volume servers, consider reducing log retention to manage disk usage. You can always export logs before they're purged.
Restart Services
After changing configuration files, restart the services:
sudo systemctl restart seczim-daemon
sudo systemctl restart seczim-api
Backup Configuration
Before making major changes, backup your configuration:
sudo cp /etc/seczim/config.yaml /etc/seczim/config.yaml.backup