Your message dated Sun, 27 Feb 2011 11:48:37 +0000
with message-id <[email protected]>
and subject line Bug#528625: fixed in exim4 4.75~rc2-1
has caused the Debian Bug report #528625,
regarding exiqgrep error on messages without size
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
528625: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528625
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: exim4
Severity: minor
Version: 4.69-11
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch

exiqgrep might return a "Line mismatch" error:

# exiqgrep -x
Line mismatch: 42h 1JCb3k-0007bY-P1 <[email protected]>

This happens when "exim4 -bp" (mailq) reports lines without size info.

The attached patch was included in Ubuntu's exim4 [1]. You might
consider including it in Debian as well.

[1] https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/181948

Regards,

-- 
Thierry Carrez

diff -u exim4-4.69/debian/patches/00list exim4-4.69/debian/patches/00list
--- exim4-4.69/debian/patches/00list
+++ exim4-4.69/debian/patches/00list
@@ -14,0 +15 @@
+71_exiq_grep_error_on_messages_without_size.dpatch
only in patch2:
unchanged:
--- exim4-4.69.orig/debian/patches/71_exiq_grep_error_on_messages_without_size.dpatch
+++ exim4-4.69/debian/patches/71_exiq_grep_error_on_messages_without_size.dpatch
@@ -0,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 71_exiq_grep_error_on_messages_without_size.dpatch
+##
+## DP: https://bugs.edge.launchpad.net/ubuntu/+source/exim4/+bug/181948
+## DP: Patch from Daniel van Eeden
+
+@DPATCH@
+--- experimental~/build-tree//src/exiqgrep.src
++++ experimental/build-tree//src/exiqgrep.src
+@@ -106,7 +106,26 @@
+ 			# Increment message counter.
+ 			$count++;
+ 		} else {
+-			print STDERR "Line mismatch: $line\n"; exit 1;
++                       if ($line =~ /^\s*(\w+)\s+(\w{6}-\w{6}-\w{2})\s+(<.*?>)/) {
++                               my $msg = $2;
++                               $id{$msg}{age} = $1;
++                               $id{$msg}{size} = "0K";
++                               $id{$msg}{from} = $3;
++                               $id{$msg}{birth} = &msg_utc($msg);
++                               $id{$msg}{ages} = time - $id{$msg}{birth};
++                               if ($line =~ /\*\*\* frozen \*\*\*$/) {
++                                       $id{$msg}{frozen} = 1;
++                               } else {
++                                       $id{$msg}{frozen} = 0;
++                               }
++                               while(<QUEUE> =~ /\s+(.*?\@.*)$/) {
++                                       push(@{$id{$msg}{rcpt}},$1);
++                               }
++                               # Increment message counter.
++                               $count++;
++                       } else { 
++                               print STDERR "Line mismatch: $line\n"; exit 1;
++                       }
+ 		}
+ 	}
+ 	close(QUEUE) or die("Error closing pipe: $!\n");

--- End Message ---
--- Begin Message ---
Source: exim4
Source-Version: 4.75~rc2-1

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

exim4-base_4.75~rc2-1_i386.deb
  to main/e/exim4/exim4-base_4.75~rc2-1_i386.deb
exim4-config_4.75~rc2-1_all.deb
  to main/e/exim4/exim4-config_4.75~rc2-1_all.deb
exim4-daemon-heavy-dbg_4.75~rc2-1_i386.deb
  to main/e/exim4/exim4-daemon-heavy-dbg_4.75~rc2-1_i386.deb
exim4-daemon-heavy_4.75~rc2-1_i386.deb
  to main/e/exim4/exim4-daemon-heavy_4.75~rc2-1_i386.deb
exim4-daemon-light-dbg_4.75~rc2-1_i386.deb
  to main/e/exim4/exim4-daemon-light-dbg_4.75~rc2-1_i386.deb
exim4-daemon-light_4.75~rc2-1_i386.deb
  to main/e/exim4/exim4-daemon-light_4.75~rc2-1_i386.deb
exim4-dbg_4.75~rc2-1_i386.deb
  to main/e/exim4/exim4-dbg_4.75~rc2-1_i386.deb
exim4-dev_4.75~rc2-1_i386.deb
  to main/e/exim4/exim4-dev_4.75~rc2-1_i386.deb
exim4_4.75~rc2-1.debian.tar.gz
  to main/e/exim4/exim4_4.75~rc2-1.debian.tar.gz
exim4_4.75~rc2-1.dsc
  to main/e/exim4/exim4_4.75~rc2-1.dsc
exim4_4.75~rc2-1_all.deb
  to main/e/exim4/exim4_4.75~rc2-1_all.deb
exim4_4.75~rc2.orig.tar.bz2
  to main/e/exim4/exim4_4.75~rc2.orig.tar.bz2
eximon4_4.75~rc2-1_i386.deb
  to main/e/exim4/eximon4_4.75~rc2-1_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.
Andreas Metzler <[email protected]> (supplier of updated exim4 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-----
Hash: RIPEMD160

Format: 1.8
Date: Sun, 27 Feb 2011 11:59:45 +0100
Source: exim4
Binary: exim4-base exim4-config exim4-daemon-light exim4 exim4-daemon-heavy 
exim4-daemon-custom eximon4 exim4-dbg exim4-daemon-light-dbg 
exim4-daemon-heavy-dbg exim4-daemon-custom-dbg exim4-dev
Architecture: source i386 all
Version: 4.75~rc2-1
Distribution: experimental
Urgency: low
Maintainer: Exim4 Maintainers <[email protected]>
Changed-By: Andreas Metzler <[email protected]>
Description: 
 exim4      - metapackage to ease Exim MTA (v4) installation
 exim4-base - support files for all Exim MTA (v4) packages
 exim4-config - configuration for the Exim MTA (v4)
 exim4-daemon-custom - custom Exim MTA (v4) daemon with locally set features
 exim4-daemon-custom-dbg - debugging symbols for the Exim MTA (v4) packages
 exim4-daemon-heavy - Exim MTA (v4) daemon with extended features, including 
exiscan-ac
 exim4-daemon-heavy-dbg - debugging symbols for the Exim MTA (v4) packages
 exim4-daemon-light - lightweight Exim MTA (v4) daemon
 exim4-daemon-light-dbg - debugging symbols for the Exim MTA (v4) packages
 exim4-dbg  - debugging symbols for the Exim MTA (v4) packages
 exim4-dev  - header files for the Exim MTA (v4) packages
 eximon4    - monitor application for the Exim MTA (v4) (X11 interface)
Closes: 528625 573779
Changes: 
 exim4 (4.75~rc2-1) experimental; urgency=low
 .
   * New upstream version.
     + Fixes exiqgrep "Line mismatch" error on messages without size info.
       Closes: #528625
     + Restore default SIGPIPE handler for child_open_uid. Closes: #573779
   * Enable verbose compilation.
Checksums-Sha1: 
 e26a9f02bdd7573cf3687883f1f5067c17b572bd 1768 exim4_4.75~rc2-1.dsc
 565041109ef039bb85fe226fb130c4e518bc7a0c 1600486 exim4_4.75~rc2.orig.tar.bz2
 5a8b01cc1258789e6993d1b9651625da5f22edbf 576225 exim4_4.75~rc2-1.debian.tar.gz
 b3018ee004dc82a3c79546cd7b150396135b72e9 1023234 exim4-base_4.75~rc2-1_i386.deb
 1c4849f3b4fbb350e3489aff48c3d12d23ae7118 193080 eximon4_4.75~rc2-1_i386.deb
 4ab722346389fb0e95c092bdaf6c01242f8a1961 557340 
exim4-daemon-light_4.75~rc2-1_i386.deb
 89a97686eb9a57c361dbff7c2423b76775ec4d92 607668 
exim4-daemon-heavy_4.75~rc2-1_i386.deb
 aa1470e596a396135271a84353bdec43b3d96cc2 823428 
exim4-daemon-light-dbg_4.75~rc2-1_i386.deb
 10edda981bc4e2056415699b55b5d694ec18b921 912088 
exim4-daemon-heavy-dbg_4.75~rc2-1_i386.deb
 97f127cf638fc9cb69e9f680444fdae34a88948a 361592 exim4-dbg_4.75~rc2-1_i386.deb
 5bc022f7ca261876700b939448c862ae15441234 165036 exim4-dev_4.75~rc2-1_i386.deb
 dbcd099791fda25af6785cb3fb592afa04453b39 467842 exim4-config_4.75~rc2-1_all.deb
 b92eb08480a95a764a46763d3a0233d794bc0e16 7802 exim4_4.75~rc2-1_all.deb
Checksums-Sha256: 
 0610034126310fb33e7034c6782cb64058b16b630ceed7adcf371410bd8c7b76 1768 
exim4_4.75~rc2-1.dsc
 56f53ad0ee36b207581e11585a32c773856fb0aef4ba76401e6ac299a55a14ec 1600486 
exim4_4.75~rc2.orig.tar.bz2
 131cc0162253c875166e81b0730cf21fd5114ade4d04addcf5a310168f5977f7 576225 
exim4_4.75~rc2-1.debian.tar.gz
 af9199b3392621066a34362ab4dd1bcae861e9cba0c2a42cb7750ba110f57081 1023234 
exim4-base_4.75~rc2-1_i386.deb
 759c48c4ca17e0a1722140c2066d11d950ec97540ec02a3b09c15d4c28f011d3 193080 
eximon4_4.75~rc2-1_i386.deb
 89903e010269af30d67fe25c1ca0d85fb2dc107b66cb421c6fc178ea08ef3ecc 557340 
exim4-daemon-light_4.75~rc2-1_i386.deb
 bcfb16ebd5f6199298e5d359ca83b10bb46cd6dead3e132eee84df72213843bb 607668 
exim4-daemon-heavy_4.75~rc2-1_i386.deb
 6b80c87f7373f08dc05349c375a7f3aee7dc609940fc1cd7854182a906fbd070 823428 
exim4-daemon-light-dbg_4.75~rc2-1_i386.deb
 49c2a8b8bcee0698ff705069b10c46cc999ae229844a7e8960a8ba68a12b44ea 912088 
exim4-daemon-heavy-dbg_4.75~rc2-1_i386.deb
 671af0c0dd77a1942fb2ce0b8ca7b06758bf825898dd85b008da0fbd42985293 361592 
exim4-dbg_4.75~rc2-1_i386.deb
 22243564a705bc7156e3f05a33cb09e2487763a8cc05f27888aee7d7e9f607a1 165036 
exim4-dev_4.75~rc2-1_i386.deb
 ea91c57a5c8ad7c038d6ac86c52e77de55a4d31de2c04b3685ef5d6102229ed5 467842 
exim4-config_4.75~rc2-1_all.deb
 bf2eda1b2b2e7c638e0b65db812f8a6132f88465f3a6f8749d40326a27141cd7 7802 
exim4_4.75~rc2-1_all.deb
Files: 
 50e831ca9bfc31bec6cad6cbf092a9b2 1768 mail standard exim4_4.75~rc2-1.dsc
 6e7368ba69af9b59ce8c808f01af5fb1 1600486 mail standard 
exim4_4.75~rc2.orig.tar.bz2
 209a86fec68cb7e6e63eec040dfb6769 576225 mail standard 
exim4_4.75~rc2-1.debian.tar.gz
 5e5191f81c78b85f5ee46fe641fda618 1023234 mail standard 
exim4-base_4.75~rc2-1_i386.deb
 c046f304008f7b47c98b382420d74a62 193080 mail optional 
eximon4_4.75~rc2-1_i386.deb
 dcc1d318b9a34e8b31c84849a93ddcbd 557340 mail standard 
exim4-daemon-light_4.75~rc2-1_i386.deb
 6ec5f0c9a81cfc2b4fa39a75de25e228 607668 mail optional 
exim4-daemon-heavy_4.75~rc2-1_i386.deb
 c288864e9efa252855cb5f7b79be90e5 823428 debug extra 
exim4-daemon-light-dbg_4.75~rc2-1_i386.deb
 d3840258278e1d0c9c98b54338482aa1 912088 debug extra 
exim4-daemon-heavy-dbg_4.75~rc2-1_i386.deb
 0cfee15bfb0fbfb2fb6961c35574d125 361592 debug extra 
exim4-dbg_4.75~rc2-1_i386.deb
 499848ce62417bfa149dd8a93e9390c3 165036 mail extra 
exim4-dev_4.75~rc2-1_i386.deb
 1a8d372e0a5df7df6889a50e36d0a2ed 467842 mail standard 
exim4-config_4.75~rc2-1_all.deb
 13732f27580c2dec08ca599824cc35fd 7802 mail standard exim4_4.75~rc2-1_all.deb

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

iEYEAREDAAYFAk1qL2gACgkQHTOcZYuNdmPjaQCdH8ozBtpEXhJvOJouYOpkRzsJ
1LsAnj4NnU90+usAupA716cGMWP02V5O
=VNrQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to