Your message dated Fri, 3 Feb 2006 15:07:56 -0500
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #297732,
regarding archivemail: crash on imap protocol
to be marked as having been forwarded to the upstream software
author(s) Paul Rodger <[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)
--- Begin Message ---
>From [EMAIL PROTECTED] Fri Feb 03 12:08:59 2006
Return-path: <[EMAIL PROTECTED]>
Received: from kitenet.net ([64.62.161.42] ident=postfix)
by spohr.debian.org with esmtp (Exim 4.50)
id 1F57Eo-0002qn-So
for [EMAIL PROTECTED]; Fri, 03 Feb 2006 12:08:58 -0800
Received: from dragon.kitenet.net (101-045-dial.xtn.net [66.118.101.45])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "Joey Hess", Issuer "Joey Hess" (verified OK))
by kitenet.net (Postfix) with ESMTP id 4669D17DE9;
Fri, 3 Feb 2006 20:08:49 +0000 (GMT)
Received: by dragon.kitenet.net (Postfix, from userid 1000)
id 8629FBEEBC; Fri, 3 Feb 2006 15:07:56 -0500 (EST)
Date: Fri, 3 Feb 2006 15:07:56 -0500
From: Joey Hess <[EMAIL PROTECTED]>
To: Paul Rodger <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: FWD: patch for archivemail
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS"
Content-Disposition: inline
User-Agent: Mutt/1.5.11
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Patch looks good to me and I'll apply it to the Debian package.
----- Forwarded message from Falko Trojahn <[EMAIL PROTECTED]> -----
=46rom: Falko Trojahn <[EMAIL PROTECTED]>
Date: Fri, 03 Feb 2006 19:13:54 +0100
To: Joey Hess <[EMAIL PROTECTED]>
Subject: patch for archivemail
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20051002)
Hi Joey,
I've got your mail address from the changelog.Debian.gz file of the
archivemail package
and would like to send you a patch which works around a problem which
archivemail has
when deleting large numbers of mails from cyrus imap accounts, just as
found here:
http://www.talkaboutsoftware.com/group/linux.debian.bugs.dist/messages/1424=
98.html
See the patch attached to this mail, tested it with imap account which
gave error with
the archivemail version from testing and stable.
There must be another bug in archivemail, since it does not what is
written in the
manual:
--delete
Delete rather than archive old mail. Use this option with
caution!
When using imap, and I give --delete as option, it does delete _and_
archive, what is not
intended as far as I can understand. So if someone wants to delete the
mails, they
get archived in the working directory, too, what could be somewhat nasty
if it is not what you want.
Best regards,
Falko
--=20
Your's sincerely - Mit freundlichen Gruessen -
Recevez mes salutations distinguees
Falko Trojahn=20
http://www.trojahn.de
--- archivemail.org 2006-02-03 15:27:08.000000000 +0100
+++ archivemail 2006-02-03 15:51:03.000000000 +0100
@@ -1248,14 +1248,16 @@
archive =3D ArchiveMbox(final_archive_name)
archive.write(msg)
stats.another_archived()
- =20
+
if not options.dry_run:
if archive:
archive.close()
archive.finalise()
vprint("Deleting messages")
- imap_srv.store(string.join(message_list, ','),
- '+FLAGS.SILENT', '\\Deleted')
+ for msg_id in message_list:
+ result, response =3D imap_srv.store(msg_id, '+FLAGS.SILEN=
T', '\\Deleted')
+ if result !=3D 'OK': unexpected_error("Failed to delete m=
essage")
+
imap_srv.close()
imap_srv.logout()
=20
----- End forwarded message -----
--=20
see shy jo
--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD47gbd8HHehbQuO8RAulvAKCkMfi5WQuCh77od+FhFpWTUqD5SQCfWt4O
bmHoCG0qkil+nWJMRlcCYhE=
=9cDv
-----END PGP SIGNATURE-----
--qMm9M+Fa2AknHoGS--
--- End Message ---