[Eisfair] Antispam, Loggingeintrag
Alex Busam
sambu at gmx.de
Do Jun 11 11:09:09 CEST 2015
Hi,
wenn ich Antispam Konfig beende werde ich auf falsche
Logging-Konfiguration hingewiedern:
Warning: No antispam-specific syslog entry found, logging will not
work properly! Change/add the following parameters in the base
configuration:
SYSLOGD_DEST_N='4'
SYSLOGD_DEST_3_ACTIVE='yes'
SYSLOGD_DEST_3_SOURCE_N='2'
SYSLOGD_DEST_3_SOURCE_1_ACTIVE='yes'
SYSLOGD_DEST_3_SOURCE_1='*.*'
SYSLOGD_DEST_3_SOURCE_2_ACTIVE='yes'
SYSLOGD_DEST_3_SOURCE_2='local7.none'
SYSLOGD_DEST_3_TARGET='/var/log/messages'
SYSLOGD_DEST_1_LOGROTATE='/etc/init.d/antispam -quiet restart'
SYSLOGD_DEST_1_ACTIVE='yes'
SYSLOGD_DEST_1_SOURCE_N='1'
SYSLOGD_DEST_1_SOURCE_1_ACTIVE='yes'
SYSLOGD_DEST_1_SOURCE_1='local7.*'
SYSLOGD_DEST_1_TARGET='/var/log/antispam*.log'
SYSLOGD_DEST_1_POSTROTATE_CMD='/etc/init.d/antispam -quiet restart'
: Don't forget to restart syslogd by running e.g.
'/etc/init.d/syslogd restart' and
: don't forget to restart antispam by running e.g.
'/etc/init.d/antispam restart'!
In der base hab ich ergänzt:
Anzahl von 3 auf 4 erhöht,
SYSLOGD_DEST_4_NAME='Antispam'
SYSLOGD_DEST_4_ACTIVE='yes'
SYSLOGD_DEST_4_SOURCE_N='2'
SYSLOGD_DEST_4_SOURCE_1_NAME=''
SYSLOGD_DEST_4_SOURCE_1_ACTIVE='yes'
SYSLOGD_DEST_4_SOURCE_1='*.*'
SYSLOGD_DEST_4_SOURCE_2_NAME=''
SYSLOGD_DEST_4_SOURCE_2_ACTIVE='yes'
SYSLOGD_DEST_4_SOURCE_2='local7.none'
SYSLOGD_DEST_4_TARGET='/var/log/antispam_messages'
SYSLOGD_DEST_4_PREROTATE_CMD=''
SYSLOGD_DEST_4_POSTROTATE_CMD='/etc/init.d/antispam --quiet restart'
Die Parameter sehen also etwas anders aus. Beim Vorschlag komme ich mit
DEST_3 und dann DEST_1....nicht klar. Ist da was verdreht? Wo muss die
Zeile _1_LOGROTATE hin? Und das zweite Minus vor quiet muss auch hin, oder?
Viele Grüße
Alex
---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
Mehr Informationen über die Mailingliste Eisfair