Andrei Emeltchenko
2008-Mar-12 09:26 UTC
[Logcheck-devel] Bug#470608: wrong charset in logcheck mail (charset=unknown-8bit)
Package: logcheck Version: 1.2.63 Severity: normal Part of the header: From: logcheck system account <logcheck at nsn.com> Date: Thu, 06 Mar 2008 13:02:04 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Transfer-Encoding: 8bit -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.24 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) Shell: /bin/sh linked to /bin/bash Versions of packages logcheck depends on: ii adduser 3.105 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-103 management of regular background p ii exim4 4.69-2 meta-package to ease Exim MTA (v4) ii exim4-daemon-light 4.69-2 lightweight Exim MTA (v4) daemon ii lockfile-progs 0.1.11 Programs for locking and unlocking ii logtail 1.2.63 Print log file lines that have not ii mailx 1:20071201-2 Transitional package for mailx ren ii syslog-ng [system- 2.0.8~1-1 Next generation logging daemon Versions of packages logcheck recommends: ii logcheck-database 1.2.63 database of system log rules for t -- no debconf information
martin f krafft
2008-Mar-12 10:28 UTC
[Logcheck-devel] Bug#470608: Bug#470608: wrong charset in logcheck mail (charset=unknown-8bit)
also sprach Andrei Emeltchenko <andrei.emeltchenko.news at gmail.com> [2008.03.12.1026 +0100]:> From: logcheck system account <logcheck at nsn.com> > Date: Thu, 06 Mar 2008 13:02:04 +0200 > MIME-Version: 1.0 > Content-Type: text/plain; charset=unknown-8bit > Content-Transfer-Encoding: 8bitcould you prepare a patch, please? -- .''`. martin f. krafft <madduck at debian.org> : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http://debiansystem.info `- Debian - when you have better things to do than fixing systems quidquid latine dictum sit, altum viditur. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20080312/a1298fb2/attachment.pgp
Frédéric Brière
2009-Aug-18 00:21 UTC
[Logcheck-devel] Bug#470608: wrong charset in logcheck mail (charset=unknown-8bit)
On Wed, Mar 12, 2008 at 11:26:03AM +0200, Andrei Emeltchenko wrote:> Part of the header: > > Content-Type: text/plain; charset=unknown-8bitThis was either inserted by your mailer or your mail reader; logcheck does not specify any character encoding itself. If it did, though, unknown-8bit would probably be the only acceptable choice. Even if there was a way for logcheck to determine a specific encoding for a log file (see bug #401259), it cannot possibly vouch that whatever's in there will in fact adhere to that encoding. (This is especially true for encodings like UTF-8.) There's lots of crap like ssh usernames in there, and crackers/spammers are unlikely to abide by your particular choice of encoding. -- <StevenK> I can usually supress the feelings that tell me to crash tackle a girl into the bushes