Your message dated Tue, 24 Jan 2006 12:36:11 +0100 (CET) with message-id <[EMAIL PROTECTED]> has caused the Debian Bug report #349595, regarding procmail: formail should detect a corrupted cache file to be marked as having been forwarded to the upstream software author(s) Procmail Bugs <[EMAIL PROTECTED]>.
(NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) --------------------------------------- Received: (at 349595-forwarded) by bugs.debian.org; 24 Jan 2006 11:36:34 +0000 >From [EMAIL PROTECTED] Tue Jan 24 03:36:34 2006 Return-path: <[EMAIL PROTECTED]> Received: from pizarro.unex.es ([158.49.8.2] ident=postfix) by spohr.debian.org with esmtp (Exim 4.50) id 1F1MTP-0001v8-Hx for [EMAIL PROTECTED]; Tue, 24 Jan 2006 03:36:34 -0800 Received: from localhost (almendralejo.unex.es [158.49.8.199]) by pizarro.unex.es (Postfix/MJ-1.08) with ESMTP id DF4B3D1299; Tue, 24 Jan 2006 12:36:29 +0100 (CET) Received: from pizarro.unex.es ([158.49.8.2]) by localhost (emilio [158.49.17.20]) (amavisd-new, port 10024) with ESMTP id 05403-06; Tue, 24 Jan 2006 12:39:34 +0100 (CET) Received: from guadiana.unex.es (guadiana.unex.es [158.49.17.23]) by pizarro.unex.es (Postfix/MJ-1.08) with ESMTP id 2C0CCD1294; Tue, 24 Jan 2006 12:36:20 +0100 (CET) Received: from cantor.unex.es ([158.49.18.105]) by guadiana.unex.es with esmtp (Exim 3.35 #1 (Debian)) id 1F1MTD-0000dr-00; Tue, 24 Jan 2006 12:36:19 +0100 Date: Tue, 24 Jan 2006 12:36:11 +0100 (CET) From: Santiago Vila <[EMAIL PROTECTED]> To: Procmail Bugs <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED], Ryan Underwood <[EMAIL PROTECTED]> Subject: Bug#349595: procmail: formail should detect a corrupted cache file (fwd) Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at unex.es X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER, HAS_PACKAGE autolearn=ham version=2.60-bugs.debian.org_2005_01_02 Hello. I received this report from the Debian bug system. [ Please keep the Cc: lines when replying. Thanks ]. BTW: Does somebody read this address, [EMAIL PROTECTED] Are you still interested in fixing procmail bugs? There are a number of bugs here: http::/bugs.debian.org/procmail for which I don't have an official fix yet. ---------- Forwarded message ---------- From: Ryan Underwood <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Date: Mon, 23 Jan 2006 15:58:09 -0600 Subject: Bug#349595: procmail: formail should detect a corrupted cache file Package: procmail Version: 3.22-11 Severity: minor In the event of formail being killed unexpectedly, it can leave the cache file in an unusable state. It appears that the fix for this is simple, to ensure that the file is always null terminated. At appropriate place in formail startup (I couldn't tell where), just do the following: fseek(idcache, -1, SEEK_END); fwrite("\0", 1, 1, idcache); fseek(idcache, 0, SEEK_SET); I have been manually fixing my formail cache but a more intelligent solution would be better. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages procmail depends on: ii libc6 2.3.5-8 GNU C Library: Shared libraries an Versions of packages procmail recommends: ii exim4 4.60-1 metapackage to ease exim MTA (v4) ii exim4-daemon-light [mail-tran 4.60-1 lightweight exim MTA (v4) daemon ii fetchmail 6.2.5.4-1 SSL enabled POP3, APOP, IMAP mail -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]