Open Bug 550407 Opened 14 years ago Updated 9 days ago

Gmail doesn't add Gmail Label of Inbox to arrived mail, if the mail is sent via non Gmail SMTP by To:/CC:/BCC: and if Gmail IMAP folder is used for "folder to save sent mail copy"

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
Windows XP
defect

Tracking

(Not tracked)

People

(Reporter: World, Unassigned)

References

(Blocks 1 open bug)

Details

This is spin-off of phenomenon reported to bug 548885 comment #35.
Opened in order to list in dependency tree for bug 402793.
 
Gmail doesn't add Gmail Label of Inbox to arrived mail, if the mail is sent via non Gmail SMTP by To:/CC:/BCC: and if Gmail IMAP folder is used for "folder to save sent mail copy".
So, new mail notification doesn't occur. 

Next mail was sent via non Gmail SMTP server.
  Folder to save sent mail copy = root-level "Sent" of yatter.one@gmail.com.
  From: "M. Wada" <muttley@ops.dti.ne.jp>
  (checked with this from addr, but any valid addr can be used, if valid setup)
  To:   yatter.one@gmail.com
  BCC:  m-wada@japan.com

(A) "Sent mail copy by Tb(with BCC:, no Received:)" was kept by Gmail.
    Arrived mail version(no BCC:, many Received:) was not kept.
    (Gmail doesn't replace already held data for same mail.)

(B) Arrived mail didn't appear in Inbox of the Gmail IMAP account.
    Gmail doesn't seem to add Gmail Label of "Inbox"
    when arrived mail is same mail as one Gmail already has.

(Sent mail copy by Tb to root-level "Sent" of Gmail IMAP, and [Gmail]/All Mail)
> BCC: m-wada@japan.com
> Message-ID: <4B906B3D.5000201@ops.dti.ne.jp>
> Date: Fri, 05 Mar 2010 11:23:57 +0900
> From: "M. Wada" <muttley@ops.dti.ne.jp>
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8)
> Gecko/20100216 Thunderbird/3.0.2
> MIME-Version: 1.0
> To: yatter.one@gmail.com
> Subject: mail send test 04
> Content-Type: text/plain; charset=UTF-8; format=flowed
> Content-Transfer-Encoding: 7bit
> 
> mail send test 04

(mail arrived at a POP3 account, m-wada@japan.com. Sent because put in BCC:)
> From - Fri Mar 05 11:24:28 2010
> X-Account-Key: account410
> X-UIDL: 36704
> X-Mozilla-Status: 0001
> X-Mozilla-Status2: 00000000
> X-Mozilla-Keys:
> Return-Path: <muttley@ops.dti.ne.jp>
> Received: from mail-gw.auone-net.jp ([210.141.108.180])
> 	by nm02mta.auone-net.jp (snip)
>(snip, many Received: headers)
> Received: from smtp09.dti.ne.jp (smtp09.dti.ne.jp [202.216.231.184])
> 	by mtain-mc05.r1000.mx.aol.com (Internet Inbound) with ESMTP id 0E20638000095
> 	for <m-wada@japan.com>; Thu,  4 Mar 2010 21:24:00 -0500 (EST)
> Received: from [192.168.0.10] (KHP222009106185.ppp-bb.dion.ne.jp [222.9.106.185]) by smtp09.dti.ne.jp (3.11s) with ESMTP AUTH id o252NvEj005602;Fri, 5 Mar 2010 11:23:58 +0900 (JST)
> Message-ID: <4B906B3D.5000201@ops.dti.ne.jp>
> Date: Fri, 05 Mar 2010 11:23:57 +0900
> From: "M. Wada" <muttley@ops.dti.ne.jp>
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2
> MIME-Version: 1.0
> To: yatter.one@gmail.com
> Subject: mail send test 04
> Content-Type: text/plain; charset=UTF-8; format=flowed
> Content-Transfer-Encoding: 7bit
> x-aol-global-disposition: G
> x-aol-sid: 3039ac1d604d4b906b403a04
> X-AOL-IP: 202.216.231.184
> X-Mailer: Unknown (No Version)
> X-Spam-Flag:NO
> X-AOL-SENDER: m-wada@japan.com
> X-SPF-AUTH: SoftFail (mail-gw.auone-net.jp: transitioning domain of ops.dti.ne.jp does not designate 64.12.100.31 as permitted sender) client-ip=64.12.100.31; envelope-from=<muttley@ops.dti.ne.jp>; helo=imr-ma05.mx.aol.com; domain=ops.dti.ne.jp; txt=v=spf1 ; auth=v1;
> 
> mail send test 04
Blocks: tb-gmailWIP
Possible quirks by Tb to bypass this kind of problem with Gmail:
  Change Message-ID of sent mail copy from original, in addition to adding BCC:
    Original       : Message-ID: <abc-def>
    Sent mail copy : Message-ID: <abc-def-sent-mail-copy-by-tb-with-bcc>
                     BCC: ...
If Gmail doesn't consider as DUP if different Message-ID:, both of the sent mail copy and arrived mail are kept as different mail in "[Gmail]/All Mail", and Gmal Label of Inbox is added.
Severity: normal → minor
Variants of phenomenon.

- Mail is sent via Gmail's SMTP, with BCC:
  Folder to save sent mail copy of Tb == Gmail IMAP folder
  a. Mail data passed to SMTP is saved in [Gmail]/Sent Mail(& [Gmail]/All Mail)
     by Gmail's SMTP and Gmail.
     (no BCC: header, no Received: heaer etc., becaused data passed to SMTP)
  b. Uploaded(append) of "mail copy of Tb(BCC: + data passed to SMTP)" is
     successfull(OK to append).
     But Gmail returns mail data by a. for the uploaded mail,
     it looks "BCC: header loss" for some kinds of user.

- Mail is sent via Gmail's Web Interface, with BCC:
  a. Mail data with BCC: header and one Received: header is saved in
     [Gmail]/Sent Mail (& [Gmail]/All Mail) by Gmail.
  b. If mail is sent to myself too, Gmail Label of "Inbox" is added.
     (difference from this bug's case)

In any cases, another upload(appen) of same mail data with different headers(Received: etc. exist because really transfered mail data) is successful(OK to append). However, Gmail returns already held mail data as newly appended mail. If uploaded to same Gmail IMAP folder in which already held mail exists (e.g. [Gmail]/All Mail), append is OK, but mail of new UID is not generated by Gmail IMAP/Gmail.
It looks header loss or mail loss for some kinds of user.
Component: General → Backend
Product: Thunderbird → MailNews Core
Version: 3.0 → Trunk
Component: Backend → Networking: IMAP
QA Contact: general → networking.imap
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.