[Logcheck-devel] Bug#479278: logcheck: sending results as attachments uses the "nail" program to mail output
John Li
debbug at deadbox.ath.cx
Sun May 4 05:15:41 UTC 2008
Package: logcheck
Version: 1.2.63
Severity: important
Setting MAILASATTACH=1 in /etc/logcheck/logcheck.conf causes
/usr/sbin/logcheck to run line 300. Line 300 is this:
echo -e "Report at the attachment" | nail -s "$subject" -a "$TMPDIR/report" "$SENDMAILTO"
This means that instead of getting mailed a logcheck message, I get a
cron error message:
/usr/sbin/logcheck: line 300: nail: command not found
I won't bother attaching the patch =).
Thanks!
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages logcheck depends on:
ii adduser 3.107 add and remove users and groups
ii bsd-mailx [mailx] 8.1.2-0.20071201cvs-2 A simple mail user agent
ii cron 3.0pl1-104 management of regular background p
ii lockfile-progs 0.1.11-0.1 Programs for locking and unlocking
ii logtail 1.2.63 Print log file lines that have not
ii postfix [mail-tran 2.5.2~rc2-1 High-performance mail transport ag
ii sysklogd [system-l 1.5-2 System Logging Daemon
Versions of packages logcheck recommends:
ii logcheck-database 1.2.63 database of system log rules for t
-- no debconf information
More information about the Logcheck-devel
mailing list