logcheck Unknown host

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
Benutzeravatar
mosa
Beiträge: 324
Registriert: 29.10.2004 09:53:35

logcheck Unknown host

Beitrag von mosa » 05.11.2007 11:01:31

Möchte bei meinem Debian Sarge den logcheck einrichten - will aber nicht. Dies obwohl die Infos nicht extern, sondern nur im internen Netz weitergereicht werden sollen?? 8O

roos:~# su -s /bin/bash -c "/usr/sbin/logcheck" logcheck hostname: Unknown host
Dies die config

Code: Alles auswählen

# Alternatively, set the format to suit your locale
#DATE="$(date +'%Y-%m-%d %H:%M')"

# If the files /etc/logcheck/header.txt and /etc/logcheck/footer.txt
# are present their contents will be read and used as the header and
# footer of any generated mails.
#
#INTRO=1

# Controls the level of filtering: 
# Can be Set to "workstation", "server" or "paranoid" for different
# levels of filtering. Defaults to server if not set.
REPORTLEVEL="workstation"

# Controls the address mail goes to:
# *NOTE* the script does not set a default value for this variable!
# Should be set to an offsite "emailaddress@some.domain.tld"

SENDMAILTO="root"

# Should the hostname in the subject of generated mails be fully qualified?
FQDN=1

# Controls whether "sort -u" is used on log entries (which will
# eliminate duplicates but destroy the original ordering); the
# default is to use "sort -k 1,3 -s":
# Alternatively, set to "1" to enable unique sorting

#SORTUNIQ=0

# Controls whether /etc/logcheck/cracking.ignore.d is scanned for
# exceptions to the rules in /etc/logcheck/cracking.d:
# Alternatively, set to "1" to enable cracking.ignore support

#SUPPORT_CRACKING_IGNORE=0

# Controls the base directory for rules file location
# This must be an absolute path

#RULEDIR="/etc/logcheck"

# Controls if syslog-summary is run over each section.
# Alternatively, set to "1" to enable extra summary.

#SYSLOGSUMMARY=0

# Controls Subject: lines on logcheck reports:

#ATTACKSUBJECT="Security Alerts"
#SECURITYSUBJECT="Security Events"
#EVENTSSUBJECT="System Events"

# Controls [logcheck] prefix on Subject: lines

# ADDTAG="no"

Benutzeravatar
deadeye
Beiträge: 561
Registriert: 14.04.2004 15:32:18
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Ukio, rechts hinterm Feld
Kontaktdaten:

Beitrag von deadeye » 15.11.2007 11:20:44

mosa hat geschrieben: SENDMAILTO="root"
Nur ein Schuss ins Blaue, aber probier mal eine vollständige eMail-Adresse. Z.B. root@localhost.localdomain oder root@<dein_fqdn>.
Ich habe eine vollständige eMail-Adresse in der Config und es läuft tadellos.

Antworten