Thunderbird empties messages while copying

Bug #997943 reported by Thomas Schweikle on 2012-05-11
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Undecided
Unassigned

Bug Description

Assume a filter:

if message is xyz and abc and somethingelse then
  copy message to local folder
  move message to trash on server

This filter works --- sometimes, but sometimes it leads to empty mail in local folders:
The same mail, here the local, copied version: (attached file)
and the one within trash: (attached file)

You may argue indexes are wrong and fixing those will fix what is seen in thunderbird. But -- it wouldn't help: I found in the mailfile for the first, empty mail:
---
From - Fri May 11 09:28:31 2012
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:

---

And the trashed original:
---
Delivered-To: <email address hidden>
Received: by 10.229.247.148 with SMTP id mc20csp78081qcb;
        Thu, 10 May 2012 16:11:27 -0700 (PDT)
Received: by 10.180.24.66 with SMTP id s2mr2052680wif.7.1336691487254;
        Thu, 10 May 2012 16:11:27 -0700 (PDT)
Return-Path: <email address hidden>
Received: from mx0.vr-web.de (mx0.vr-web.de. [195.200.35.198])
        by mx.google.com with ESMTPS id t45si315174wec.26.2012.05.10.16.11.26
        (version=TLSv1/SSLv3 cipher=OTHER);
        Thu, 10 May 2012 16:11:27 -0700 (PDT)
Received-SPF: softfail (google.com: domain of transitioning <email address hidden> does not designate 195.200.35.198 as permitted sender) client-ip=195.200.35.198;
Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning <email address hidden> does not designate 195.200.35.198 as permitted sender) <email address hidden>; dkim=neutral (body hash did not verify) <email address hidden>
Received: from loc.vr-web.de (vrwb202.vrweb.de [::ffff:192.168.30.15])
  by mx0.vr-web.de with esmtp; Fri, 11 May 2012 01:11:26 +0200
  id 0009810A.4FAC4B1E.00002D18
Received: from localhost (localhost [127.0.0.1])
  (Zm9yd2FyZGVkIGJ5IHRwc0Bsb2NhbG1haWwta2EudnJ3ZWIuZGU=)
  by loc.vr-web.de with local; Fri, 11 May 2012 01:11:26 +0200
  id 00114733.4FAC4B1E.000026FD
Delivered-To: <email address hidden>
Received: from mx0.vr-web.de (vrwf102.vrweb.de [::ffff:192.168.27.5])
  by loc.vr-web.de with esmtp; Fri, 11 May 2012 01:11:26 +0200
  id 00114711.4FAC4B1E.000026E6
Received: from bastion.fedoraproject.org (bastion01.fedoraproject.org [::ffff:209.132.181.2])
  by mx0.vr-web.de with esmtp; Fri, 11 May 2012 01:11:25 +0200
  id 0000BE85.4FAC4B1D.00001EE1
Received: from lists.fedoraproject.org (collab03.vpn.fedoraproject.org [192.168.1.70])
 by bastion01.phx2.fedoraproject.org (Postfix) with ESMTP id 47A7120E37;
 Thu, 10 May 2012 23:11:02 +0000 (UTC)
Received: from collab03.fedoraproject.org (localhost [127.0.0.1])
 by lists.fedoraproject.org (Postfix) with ESMTP id 80607401B6;
 Thu, 10 May 2012 23:11:00 +0000 (UTC)
X-Original-To: <email address hidden>
Delivered-To: <email address hidden>
Received: from smtp-mm01.fedoraproject.org (smtp-mm01.fedoraproject.org
 [80.239.156.217])
 by lists.fedoraproject.org (Postfix) with ESMTP id 9B65B401B6
 for <email address hidden>;
 Thu, 10 May 2012 23:10:56 +0000 (UTC)
Received: from mail-bk0-f45.google.com (mail-bk0-f45.google.com
 [209.85.214.45])
 by smtp-mm01.fedoraproject.org (Postfix) with ESMTP id 87490C0818
 for <email address hidden>;
 Thu, 10 May 2012 23:10:55 +0000 (UTC)
Received: by bkwj10 with SMTP id j10so2128676bkw.32
 for <email address hidden>;
 Thu, 10 May 2012 16:10:56 -0700 (PDT)
X-BitDefender-Scanner: Clean, Agent: BitDefender Courier 3.0.2 on
 vrwf102, sigver: 7.42228
X-BitDefender-CF-Stamp: none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :content-type; bh=piRYtyXmA2NGORqfEQapKV+BA8F8nfOPvs5v/AhP9dM=;
 b=KG21+QQYCqhBnPFTCcjwtrkfFFxW+/H1WYDWZpd93UpM6Zjsyn9DWswCShLRthEo0a
 voELGxY48Oos6uzBv10jg8RgXaqbvaqzdCviXCV4oJJXsRETERmz75Q2iWKxMYTE6O2L
 5UE92XVjWxK/BNLvw3MaWMKKkf4tqbTIds1kddskzCGW/qMTJVXnxtYxsPTFMrG+XhXc
 KvmtGrsS0K0lQ3Q9Cca0Xl5Kc5Y1iPQi8V8i2in1OpVsH7ggIMIl1UjCnw6/oLzg0st1
 EdFhfxi2/RtwLqygxX7AbetDaiFywLbQG/91Kzn7bbjccn70CDMbJ07NJLOSPd1EVkDG
 1tFA==
Received: by 10.204.149.208 with SMTP id u16mr2529832bkv.81.1336691456602;
 Thu, 10 May 2012 16:10:56 -0700 (PDT)
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_vrwf206-11544-1336691486-0001-2"
Received: by 10.204.63.199 with HTTP; Thu, 10 May 2012 16:10:36 -0700 (PDT)
In-Reply-To: <email address hidden>
References: <email address hidden>
From: Wilfredo Porta <email address hidden>
Date: Thu, 10 May 2012 17:10:36 -0600
Message-ID: <email address hidden>
Subject: Re: F15 : Flash not working on firefox 12
To:
  Community support for Fedora users <email address hidden>
X-BeenThere: <email address hidden>
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To:
  Community support for Fedora users <email address hidden>
List-Id: Community support for Fedora users <users.lists.fedoraproject.org>
List-Unsubscribe: <https://admin.fedoraproject.org/mailman/options/users>,
 <mailto:<email address hidden>?subject=unsubscribe>
List-Archive: <http://lists.fedoraproject.org/pipermail/users/>
List-Post: <mailto:<email address hidden>>
List-Help: <mailto:<email address hidden>?subject=help>
List-Subscribe: <https://admin.fedoraproject.org/mailman/listinfo/users>,
 <mailto:<email address hidden>?subject=subscribe>
Sender: <email address hidden>
Errors-To: <email address hidden>

This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_vrwf206-11544-1336691486-0001-2
Content-Type: multipart/alternative; boundary="=_vrwf206-11544-1336691486-0001-3"

This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_vrwf206-11544-1336691486-0001-3
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

What seems to be the issue? Please explain a little bit more. Also, please
give your flash-plugin version.

On Thu, May 10, 2012 at 3:18 PM, mike lan <email address hidden> wrote:

> Hello every one
>
> I've just update firefox to firefox 12, But flash doesn't work anymore
>
>
>
> --
> users mailing list
> <email address hidden>
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
>

--=_vrwf206-11544-1336691486-0001-3
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

What seems to be the issue? Please explain a little bit more. Also, please =
give your flash-plugin version.<div><br><br><div class=3D"gmail_quote">On T=
hu, May 10, 2012 at 3:18 PM, mike lan <span dir=3D"ltr">&lt;<a href=3D"mail=
to:<email address hidden>" target=3D"_blank"><email address hidden></a>&gt;</sp=
an> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hello every one <br><br>I&#=
39;ve just update firefox to firefox 12, But flash doesn&#39;t work anymore=
 <br>

<br><br></div>
<br>--<br>
users mailing list<br>
<a href=3D"mailto:<email address hidden>"><email address hidden>.=
org</a><br>
To unsubscribe or change subscription options:<br>
<a href=3D"https://admin.fedoraproject.org/mailman/listinfo/users" target=
=3D"_blank">https://admin.fedoraproject.org/mailman/listinfo/users</a><br>
Guidelines: <a href=3D"http://fedoraproject.org/wiki/Mailing_list_guideline=
s" target=3D"_blank">http://fedoraproject.org/wiki/Mailing_list_guidelines<=
/a><br>
Have a question? Ask away: <a href=3D"http://ask.fedoraproject.org" target=
=3D"_blank">http://ask.fedoraproject.org</a><br>
<br></blockquote></div><br></div>

--=_vrwf206-11544-1336691486-0001-3--

--=_vrwf206-11544-1336691486-0001-2
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

LS0gCnVzZXJzIG1haWxpbmcgbGlzdAp1c2Vyc0BsaXN0cy5mZWRvcmFwcm9qZWN0Lm9yZwpUbyB1
bnN1YnNjcmliZSBvciBjaGFuZ2Ugc3Vic2NyaXB0aW9uIG9wdGlvbnM6Cmh0dHBzOi8vYWRtaW4u
ZmVkb3JhcHJvamVjdC5vcmcvbWFpbG1hbi9saXN0aW5mby91c2VycwpHdWlkZWxpbmVzOiBodHRw
Oi8vZmVkb3JhcHJvamVjdC5vcmcvd2lraS9NYWlsaW5nX2xpc3RfZ3VpZGVsaW5lcwpIYXZlIGEg
cXVlc3Rpb24/IEFzayBhd2F5OiBodHRwOi8vYXNrLmZlZG9yYXByb2plY3Qub3JnCg==

--=_vrwf206-11544-1336691486-0001-2--
---

Absolute showstopper. Thunderbird empties mail while copying!
It is not only one Mail, there are about 200 empty mail!

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: thunderbird 12.0.1+build1-0ubuntu0.11.10.1
Uname: Linux 3.2.16 x86_64
AddonCompatCheckDisabled: False
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: tps 4891 F.... xfce4-volumed
                      tps 4894 F.... pulseaudio
BuildID: 20120430052736
CRDA: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf0500000 irq 46'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:10ec0268,1025011b,00100003 HDA:11c11040,1025011b,00100200'
   Controls : 14
   Simple ctrls : 9
Channel: release
Date: Fri May 11 10:02:50 2012
ForcedLayersAccel: False
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
Profiles: Profile0 (Default) - LastVersion=12.0.1/20120430052736 (Running)
RunningIncompatibleAddons: True
SourcePackage: thunderbird
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:
 May 11 09:58:00 ivory NetworkManager[2867]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
 May 11 09:58:00 ivory NetworkManager[2867]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
 May 11 10:00:28 ivory NetworkManager[2867]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
 May 11 10:00:28 ivory NetworkManager[2867]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
dmi.bios.date: 01/11/2008
dmi.bios.vendor: Acer
dmi.bios.version: S1.3502
dmi.board.name: Victoria
dmi.board.vendor: Acer, Inc.
dmi.board.version: Not Applicable
dmi.chassis.type: 1
dmi.chassis.vendor: Acer, Inc.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAcer:bvrS1.3502:bd01/11/2008:svnAcer,inc.:pnTravelMate6292:pvrNotApplicable:rvnAcer,Inc.:rnVictoria:rvrNotApplicable:cvnAcer,Inc.:ct1:cvrN/A:
dmi.product.name: TravelMate 6292
dmi.product.version: Not Applicable
dmi.sys.vendor: Acer, inc.

Thomas Schweikle (tps) wrote :
Thomas Schweikle (tps) wrote :
Thomas Schweikle (tps) wrote :

Absolute showstopper. Thunderbird empties mail while copying!
It is not only one Mail, there are about 200 empty mail!

Thomas Schweikle (tps) wrote :

Same for other imap-accounts than googlemail. This is related to how Thunderbird acts on filtering.

Thomas Schweikle (tps) wrote :

One action seems atomic, but multiple actions are done out of sync and in parallel --- this is OK, as long as none of these actions removed the mail. As soon as this is the case, some of the defined actions may work on something removed without noticing. Leading to empty mail copies.

All actions done on one Mail have to be threatened as one transaction.
All actions done on one Mail have to be done one by one, as defined by the filter.

In the above case:
1. Open transaction
   Start filtering
2. Copy the mail
   Make sure it is copied
3. Move the mail
   Make sure it is moved
4. Terminate the filter
   Close transaction

And for those telling me again it is done as defined, exactly one by one:
why does it move the mail *before* it is copied???

I just added a new mail account to Thunderbird, which requires copy mailing lists messages on my local folders, and this bug is driving me crazy. I see there is no progress at all in spite of the fact that it seems to affect quite a number of people, is there a corresponding bug open upstream?

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thunderbird (Ubuntu):
status: New → Confirmed
To post a comment you must log in.