Your message dated Fri, 03 Jun 2005 13:02:05 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#311769: fixed in sendmail 8.13.4-3
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-close) by bugs.debian.org; 3 Jun 2005 17:08:02 +0000
>From [EMAIL PROTECTED] Fri Jun 03 10:08:02 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DeFeM-0001YD-00; Fri, 03 Jun 2005 10:08:02 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DeFYb-0000UK-00; Fri, 03 Jun 2005 13:02:05 -0400
From: Richard A Nelson (Rick) <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#311769: fixed in sendmail 8.13.4-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 03 Jun 2005 13:02:05 -0400
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: sendmail
Source-Version: 8.13.4-3

We believe that the bug you reported is fixed in the latest version of
sendmail, which is due to be installed in the Debian FTP archive:

libmilter-dev_8.13.4-3_i386.deb
  to pool/main/s/sendmail/libmilter-dev_8.13.4-3_i386.deb
libmilter0_8.13.4-3_i386.deb
  to pool/main/s/sendmail/libmilter0_8.13.4-3_i386.deb
rmail_8.13.4-3_i386.deb
  to pool/main/s/sendmail/rmail_8.13.4-3_i386.deb
sendmail-base_8.13.4-3_all.deb
  to pool/main/s/sendmail/sendmail-base_8.13.4-3_all.deb
sendmail-bin_8.13.4-3_i386.deb
  to pool/main/s/sendmail/sendmail-bin_8.13.4-3_i386.deb
sendmail-cf_8.13.4-3_all.deb
  to pool/main/s/sendmail/sendmail-cf_8.13.4-3_all.deb
sendmail-doc_8.13.4-3_all.deb
  to pool/main/s/sendmail/sendmail-doc_8.13.4-3_all.deb
sendmail_8.13.4-3.diff.gz
  to pool/main/s/sendmail/sendmail_8.13.4-3.diff.gz
sendmail_8.13.4-3.dsc
  to pool/main/s/sendmail/sendmail_8.13.4-3.dsc
sendmail_8.13.4-3_all.deb
  to pool/main/s/sendmail/sendmail_8.13.4-3_all.deb
sensible-mda_8.13.4-3_i386.deb
  to pool/main/s/sendmail/sensible-mda_8.13.4-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Richard A Nelson (Rick) <[EMAIL PROTECTED]> (supplier of updated sendmail 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
Date: Fri, 03 Jun 2005 16:00:00 -0000
Source: sendmail
Binary: libmilter-dev rmail sendmail sendmail-doc libmilter0 sendmail-cf 
sensible-mda sendmail-bin sendmail-base
Architecture: source all i386
Version: 8.13.4-3
Distribution: unstable
Urgency: high
Maintainer: Richard A Nelson (Rick) <[EMAIL PROTECTED]>
Changed-By: Richard A Nelson (Rick) <[EMAIL PROTECTED]>
Description: 
 libmilter-dev - Sendmail Mail Filter API (Milter)
 libmilter0 - Sendmail Mail Filter API (Milter)
 rmail      - MTA->UUCP remote mail handler
 sendmail   - powerful, efficient, and scalable Mail Transport Agent
 sendmail-base - powerful, efficient, and scalable Mail Transport Agent
 sendmail-bin - powerful, efficient, and scalable Mail Transport Agent
 sendmail-cf - powerful, efficient, and scalable Mail Transport Agent
 sendmail-doc - powerful, efficient, and scalable Mail Transport Agent
 sensible-mda - Mail Delivery Agent wrapper
Closes: 307309 311769
Changes: 
 sendmail (8.13.4-3) unstable; urgency=high
 .
   * More migration fixes
    + -D_FFR_QUEUEDELAY                                closes: #311769
    + Tighten regex for TRUSTED_USER                   closes: #307309
Files: 
 49b0100cf42b90083fe9ca1555163285 1006 mail extra sendmail_8.13.4-3.dsc
 64f85516b713737e756665874581de8e 364196 mail extra sendmail_8.13.4-3.diff.gz
 6b1d3a05b5b53b8ebbe3df168029c4e3 819750 doc extra sendmail-doc_8.13.4-3_all.deb
 0a113f2714f832ab3b8a6ab1b6257b1d 193306 mail extra sendmail_8.13.4-3_all.deb
 c289aeb588935e4f84184a14f240f3ef 342894 mail extra 
sendmail-base_8.13.4-3_all.deb
 22e007dc889e49d5bbfdf4626c78c6b0 279980 mail extra sendmail-cf_8.13.4-3_all.deb
 09cc40e786dd7e1c877b0f6b07e5ce60 814018 mail extra 
sendmail-bin_8.13.4-3_i386.deb
 011b621ba7bc5adc9879bfb1f31832b9 224266 mail extra rmail_8.13.4-3_i386.deb
 ac706723f29d94388fffdcad06f4c733 198718 mail extra 
sensible-mda_8.13.4-3_i386.deb
 770f0ea7f3a97a30851247878bf7d5d3 213608 libs extra libmilter0_8.13.4-3_i386.deb
 68e16c43fee7c6bde66a6856d994a126 289306 libdevel extra 
libmilter-dev_8.13.4-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQCVAwUBQqCKt6VTksHk9ElFAQEoegP8DqTl5go3bTuvHn/YKHrVAUPD31WYCidN
ljutWoHj8X7o3mQVPaABQPJTYCqTZ9DVlJvMmstC+5Hx0teIvUQa0//8PlfzxAbY
e05b6IdnQv+aO/ALqgxCX/N9F5/H/2nHJj63SHIRYibrzBNlla/ajVQGG+iANmGf
dS4mGXcFPEo=
=M4tY
-----END PGP SIGNATURE-----


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

Reply via email to