38 lines
1.0 KiB
INI
38 lines
1.0 KiB
INI
##############################################################
|
|
# SPAMD SERVICE SETTINGS
|
|
|
|
# run as specific user
|
|
#run_as_user = kopano
|
|
|
|
# run as specific group
|
|
#run_as_group = kopano
|
|
|
|
# control pid file
|
|
pid_file = /var/run/kopano/spamd.pid
|
|
|
|
# run server in this path (when not using the -F switch)
|
|
#running_path = /var/lib/kopano
|
|
|
|
##############################################################
|
|
# LOG SETTINGS
|
|
|
|
# Logging method (syslog, file)
|
|
log_method = file
|
|
|
|
# Loglevel (0(none), 1(crit), 2(err), 3(warn), 4(notice), 5(info), 6(debug))
|
|
#log_level = 3
|
|
|
|
# Logfile for log_method = file, use '-' for stderr
|
|
log_file = /var/log/kopano/spamd.log
|
|
|
|
# Log timestamp - prefix each log line with timestamp in 'file' logging mode
|
|
log_timestamp = 1
|
|
|
|
###############################################################
|
|
# SPAMD Specific settings
|
|
|
|
learncmd = /usr/bin/sudo -u amavis /usr/bin/sa-learn --spam
|
|
unlearncmd = /usr/bin/sudo -u amavis /usr/bin/sa-learn --ham
|
|
|
|
spam_header = x-spam-status
|