Your message dated Sat, 4 Jun 2005 21:44:26 +0200
with message-id <[EMAIL PROTECTED]>
and subject line fixed version in sarge
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(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 submit) by bugs.debian.org; 3 Jun 2005 07:58:08 +0000
>From [EMAIL PROTECTED] Fri Jun 03 00:58:08 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mailout2.pacific.net.au [61.8.0.85] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1De74B-0004kR-00; Fri, 03 Jun 2005 00:58:07 -0700
Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87])
        by mailout2.pacific.net.au (8.12.3/8.12.3/Debian-7.1) with ESMTP id 
j537vxkG030514
        for <[EMAIL PROTECTED]>; Fri, 3 Jun 2005 17:57:59 +1000
Received: from pimel-mx1.ozpacnet.office.pacific.net.au (hadrian.pacific.net.au 
[210.23.129.78])
        by mailproxy2.pacific.net.au (8.12.3/8.12.3/Debian-7.1) with ESMTP id 
j537vxMB006443
        for <[EMAIL PROTECTED]>; Fri, 3 Jun 2005 17:57:59 +1000
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: sendmail: upgrade with queued mail from woody 8.12 to sarge 8.13: 
readqf: <messageid> bad line "G0"
Date: Fri, 3 Jun 2005 17:57:18 +1000
Message-ID: <[EMAIL PROTECTED]>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: sendmail: upgrade with queued mail from woody 8.12 to sarge 8.13: 
readqf: <messageid> bad line "G0"
Thread-Index: AcVoEd2OOgS8jF0kS62mmEgmm9GjRg==
From: "Martin Foster" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
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-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: sendmail
Version: 8.13.4-1
Severity: critical

When migrating a server from woody to sarge, the following error is =
displayed on Sendmail's startup if there was mail queued at the time of =
upgrade. =20


Jun  3 17:04:57 mailtest1 sendmail[25561]: j4VDWurI013546: SYSERR(root): =
readqf: ./qfj4VDWurI013546: line 4: bad line "G0"

Jun  3 17:04:57 mailtest1 sendmail[25561]: j4VDWurI013546: Losing =
./qfj4VDWurI013546: unrecognized line

Bug marked as critical, as the entire queue will be marked as lost, and =
not delivered.  This can be thousands of messages on high volume =
servers.  =20

The problem was not discovered earlier when upgrading test boxes, as =
they had no queued mail at time of upgrade. =20

Hunting through the code, it seems that a QF file V7 Y and G options are =
no longer supported.  These are not truly important to message queueing, =
and should be ignored instead of effectively losing the mail queue.   =20



The apparent source of the problem, sendmail/queue.c:

   4444 #if _FFR_QUEUEDELAY
   4445                   case 'G':
   4446                   case 'Y':
   4447
   4448                         /*
   4449                         **  Maintain backward compatibility for
   4450                         **  users who defined _FFR_QUEUEDELAY in
   4451                         **  previous releases.  Remove this
   4452                         **  code in 8.14 or 8.15.
   4453                         */
   4454
   4455                         if (qfver =3D=3D 5 || qfver =3D=3D 7)
   4456                                 break;
   4457
   4458                         /* If not qfver 5 or 7, then 'G' or 'Y' =
is invalid */
   4459                         /* FALLTHROUGH */
   4460 #endif /* _FFR_QUEUEDELAY */
   4461
   4462                   default:
   4463                         syserr("readqf: %s: line %d: bad line =
\"%s\"",
   4464                                 qf, LineNumber, =
shortenstring(bp, MAXSHORTSTR));
   4465                         err =3D "unrecognized line";
   4466                         goto fail;





Two potential fixes:

1) patch sendmail/queue.c:

--- sendmail/queue.c.old        2005-06-03 17:37:55.282259719 +1000
+++ sendmail/queue.c    2005-06-03 17:39:23.403051888 +1000
@@ -4441,7 +4441,6 @@
                        nomore =3D true;
                        break;

-#if _FFR_QUEUEDELAY
                  case 'G':
                  case 'Y':

@@ -4457,7 +4456,6 @@

                        /* If not qfver 5 or 7, then 'G' or 'Y' is =
invalid */
                        /* FALLTHROUGH */
-#endif /* _FFR_QUEUEDELAY */

                  default:
                        syserr("readqf: %s: line %d: bad line \"%s\"",


2) Add something to the postinstall script to remove the Y and G lines =
from QF files, like:

for file in /var/spool/mqueue*/[Qq]f*; do echo -n "file: $file: "; grep =
-v ^[GY] $file > /tmp/file; mv /tmp/file $file; echo "done."; done



Other info:

dpkg --status sendmail:
Package: sendmail
Status: install ok installed
Priority: extra
Section: mail
Installed-Size: 244
Maintainer: Richard A Nelson (Rick) <[EMAIL PROTECTED]>
Architecture: all
Version: 8.13.4-1
Replaces: sendmail-tls
Depends: sendmail-base (=3D 8.13.4-1), sendmail-bin (=3D 8.13.4-1), =
sendmail-cf (=3D 8.13.4-1), sensible-mda (=3D 8.13.4-1), rmail (=3D =
8.13.4-1)
Suggests: sendmail-doc



________________________________________
Martin Foster | Systems Engineer
Pacific Internet (Australia) Pty Ltd

P: +61 3 9674 7659
=A0
Australia I Singapore I Hong Kong I Philippines I India I Thailand I =
Malaysia=20
http://www.pacific.net.au/disclaimer/


---------------------------------------
Received: (at 311769-done) by bugs.debian.org; 4 Jun 2005 19:44:33 +0000
>From [EMAIL PROTECTED] Sat Jun 04 12:44:33 2005
Return-path: <[EMAIL PROTECTED]>
Received: from neualius.turmzimmer.net [217.160.169.58] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DeeZN-0001e5-00; Sat, 04 Jun 2005 12:44:33 -0700
Received: from [195.60.122.97] (helo=metis.turmzimmer.net)
        by neualius.turmzimmer.net with esmtp (Exim 4.50)
        id 1DeeZM-0004i1-7G
        for [EMAIL PROTECTED]; Sat, 04 Jun 2005 21:44:32 +0200
Received: from eos.turmzimmer.net ([10.2.3.1])
        by metis.turmzimmer.net with esmtp (Exim 4.50)
        id 1DeeZC-00068C-Ce
        for [EMAIL PROTECTED]; Sat, 04 Jun 2005 21:44:22 +0200
Received: from aba by eos.turmzimmer.net with local (Exim 4.50)
        id 1DeeZG-0006Mt-P8
        for [EMAIL PROTECTED]; Sat, 04 Jun 2005 21:44:26 +0200
Date: Sat, 4 Jun 2005 21:44:26 +0200
From: Andreas Barth <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: fixed version in sarge
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Editor: Vim http://www.vim.org/
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
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-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Hi,

the fixed version reached sarge.

Thanks for your help with making Debian better.


Cheers,
Andi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to