logcheck: fails to send mail with atachment

Marcin Derlukiewicz bober10 at o2.pl
Wed Apr 8 14:43:15 UTC 2009


Package: logcheck
Version: 1.2.63
Severity: normal


on line 300 of logcheck script there is:
echo -e "Report at the attachment" | nail -s "$subject" -a  
"$TMPDIR/report" "$SENDMAILTO"
should be:
echo -e "Report at the attachment" | mail -s "$subject" -a  
"$TMPDIR/report" "$SENDMAILTO"

-- System Information:
Debian Release: lenny/sid
   APT prefers hardy-updates
   APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500,  
'hardy')
Architecture: i386 (i686)

Kernel: Linux 2.6.27.10-grsec-xxxx-grs-ipv4-32 (SMP w/2 CPU cores)
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages logcheck depends on:
ii  adduser                3.105ubuntu1      add and remove users and  
groups
ii  cron                   3.0pl1-100ubuntu2 management of regular  
background p
ii  lockfile-progs         0.1.11ubuntu1     Programs for locking and  
unlocking
ii  logtail                1.2.63            Print log file lines that  
have not
ii  mailutils [mailx]      1:1.1+dfsg1-3.1   GNU mailutils utilities for  
handli
ii  sendmail-bin [mail-tra 8.14.2-2build1    powerful, efficient, and  
scalable
ii  sysklogd [system-log-d 1.5-1ubuntu1      System Logging Daemon

Versions of packages logcheck recommends:
ii  logcheck-database             1.2.63     database of system log rules  
for t

-- no debconf information


-- 
Marcin Derlukiewicz
http://www.rocktech.pl




More information about the ubuntu-users mailing list