Your message dated Fri, 16 Nov 2012 11:47:27 +0000
with message-id <e1tzkon-00068e...@franck.debian.org>
and subject line Bug#633799: fixed in getmail4 4.32.0-2
has caused the Debian Bug report #633799,
regarding getmail causes irrecoverable mail corruption when using mbox
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 ow...@bugs.debian.org
immediately.)


-- 
633799: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633799
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: getmail4
Version: 4.20.3-2
Severity: normal

Although getmail has a destination named "Mboxrd", and although the
documentation explicitly says that it produces mboxrd-format files, this
does not in fact seem to be the case. The Mboxrd destination produces
mboxo files.

For instance, I had the following test file being served by dovecot.
Dovecot's mbox backend uses mboxcl2, i.e. it relies only on the
Content-Length header to delimit messages, and leaves the body of the
message unescaped.

|From l...@iki.fi  Wed Jul 13 22:04:07 2011
|From: me
|To: whoever
|Content-Length: 80
|
|This is some text.
|From 0
|>From 1
|>>From 2
|>>>From 3
|Some more text at the end.
|

(I prepended | to the lines to prevent further mangling while the bug
report is in transit.)

The file produced by getmail's Mboxrd destination looks like the
following:

|From unknown Wed Jul 13 23:12:36 2011
|Return-Path: <unknown>
|Delivered-To: unknown
|Received: from localhost (127.0.0.1:993) by bq.la.iki.fi with IMAP4-SSL; 13
|  Jul 2011 20:12:36 -0000
|From: me
|To: whoever
|
|This is some text.
|>From 0
|>From 1
|>>From 2
|>>>From 3
|Some more text at the end.
|

Note that only the line "From 0" has been escaped, not any of the lines
following it. This format is mboxo, not mboxrd. As is obvious, mboxo is
not a very good format since from the fetched mail we cannot reconstruct
the original message accurately, as the distinction between "From 0" and
"From 1" has been lost.

This is arguably a documentation bug, but a severe one, as the
documentation explicitly gives the wrong information several times,
and assuming the wrong mbox format can cause corruption of the
messages.

-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (900, 'stable'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages getmail4 depends on:
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-support          1.0.8            automated rebuilding support for P

getmail4 recommends no packages.

getmail4 suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: getmail4
Source-Version: 4.32.0-2

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

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 633...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Osamu Aoki <os...@debian.org> (supplier of updated getmail4 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 16 Nov 2012 20:31:42 +0900
Source: getmail4
Binary: getmail4
Architecture: source all
Version: 4.32.0-2
Distribution: unstable
Urgency: low
Maintainer: Osamu Aoki <os...@debian.org>
Changed-By: Osamu Aoki <os...@debian.org>
Description: 
 getmail4   - mail retriever with support for POP3, IMAP4 and SDPS
Closes: 633799
Changes: 
 getmail4 (4.32.0-2) unstable; urgency=low
 .
   * Prevent mail data corruption by the mboxo format by applying
     upstream 4.35 patch to use the mboxrd format. Closes: #633799
Checksums-Sha1: 
 4f9124ccb21255de7923b34f3ddd85eaa7badd9c 1266 getmail4_4.32.0-2.dsc
 d87756c325c7b4482ce43ded5050a51affc33e84 8343 getmail4_4.32.0-2.debian.tar.gz
 b77c0c35e49be94cb3c08745c09a6aec76ccbdee 184454 getmail4_4.32.0-2_all.deb
Checksums-Sha256: 
 e759a95b4c8353665bbaad53255224956105fbe5f9a0688c7e57f0a1071adc7e 1266 
getmail4_4.32.0-2.dsc
 639588fb648e1493adef6c348a835c47621e2e4e3e08fcb6077cba71ff4e6fe3 8343 
getmail4_4.32.0-2.debian.tar.gz
 39e2c5c0848502bd74bf9556205495eec5c4911ff57310578d5bfd60d0c05092 184454 
getmail4_4.32.0-2_all.deb
Files: 
 deaabc3c61a4e16479f9194d99fc3ff0 1266 mail optional getmail4_4.32.0-2.dsc
 0154a0662d50f333550dcfe39d0c31a0 8343 mail optional 
getmail4_4.32.0-2.debian.tar.gz
 5d3dfd8a66425b7b4a7c9774c15730ef 184454 mail optional getmail4_4.32.0-2_all.deb

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

iEYEARECAAYFAlCmJNMACgkQ6A/EwagGHzIGMgCePme3pGZKCEDCpxXhlXCaOclS
gRwAn0ujCfk0npbIDO12RZqdYV47gQH3
=Uaa+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to