Bug: thunderbird adds quotes around from address which gets injected into mail header
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2021-04-07 13:15:51+00:00
Resolved: 2021-08-02 13:17:58+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Waterfox/78.9.0

Steps to reproduce:

Please see attached files for config causes

ok had to attach a thunderbird email with the pictures - hope this works

your ticket system does not allow for multiple upload files or pasting screen shots (suggestion)

that being said screen shots in email include working config (no brackets etc in display name) and non working with transmitted results. email has the screen shots in the order to reproduce the issue

happens in 60.9

upgraded to 78.9.0 - same issues

This occurs in UTF-8 & ISO Western formats (encoding did not seem to make a difference)





Actual results:

email received (also in thunderbird) broke up the from address into 5 parts using main server as from address thus breaking the from address completely

this makes replying to the email useless as the email address has been completely destroyed in the transmitted header

this issue has been reported before years ago and has occured in some upgrades to thunderbird

aka - some versions work ok, some simply do not

because of your update policy of forcing updates this makes it difficult to fix / go back when stuff like this happens with the end user.

Please note i am a programmer by trade as well and not trying to be critical, it just seems things get rushed out the door too quickly today.

header example shown below.

Return-Path: <MAILER-DAEMON@mail10.scom.ca>
Received: from deliver ([unix socket])
	 by mail10.scom.ca (Cyrus v2.4.17) with LMTPA;
	 Wed, 07 Apr 2021 00:11:21 -0400
X-Sieve: CMU Sieve 2.4
Received: from mail.scom.ca (localhost [127.0.0.1])
	by smtp.scom.ca (Postfix) with ESMTP id 0974747A221
	for <paul@scom.ca>; Wed,  7 Apr 2021 00:11:21 -0400 (EDT)
Received: from secure.scom.ca (www.scom.ca [65.39.148.16])
	by mail10.scom.ca (Postfix) with ESMTPS id 283BA1AFD05
	for <paul@scom.ca>; Wed,  7 Apr 2021 00:10:50 -0400 (EDT)
Received: from [192.168.0.26] (cpef4c1149383f3-cmf4c1149383f1.cpe.net.cable.rogers.com [173.34.170.254])
	(Authenticated sender: howard@willsagriquipandfencing.ca)
	by secure.scom.ca (Postfix) with ESMTPSA id BA6832159B4
	for <paul@scom.ca>; Wed,  7 Apr 2021 00:10:48 -0400 (EDT)
To: "Paul Kudla (Scom.ca)" <paul@scom.ca>
From: Howard@mail.scom.ca, Wills@mail.scom.ca, -Wills@mail.scom.ca,
	Agriquip@mail.scom.ca, and@mail.scom.ca, Fencing@mail.scom.ca
Subject: asus computer is on if you want it
Message-ID: <00421749-6829-e569-7b6f-38a876ad1035@willsagriquipandfencing.ca>
Date: Wed, 7 Apr 2021 00:10:53 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
 Thunderbird/52.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-scomca-MailScanner-Information: Please contact the ISP for more information
X-scomca-MailScanner-ID: 283BA1AFD05.AB0BB
X-scomca-MailScanner: Found to be clean
X-scomca-MailScanner-From: howard@willsagriquipandfencing.ca
X-Spam-Status: No

Note the from address got completely busted up seperated by spaces ?

From: Howard@mail.scom.ca, Wills@mail.scom.ca, -Wills@mail.scom.ca,
	Agriquip@mail.scom.ca, and@mail.scom.ca, Fencing@mail.scom.ca

this occurs with other email clients / cell phone email clients (apple ios for example)

issue is defanitely when TB sends the malformed headers.

seems to be similiar to BUG #426959 from 2009?



Expected results:

display address 

MUST BE SENT AS ENTERED IN THE CONFIG WITHOUT QUOTES 

QUOTES ARE NOT NEEDED NOR REQUIRED.

received header from seperate test  :

Return-Path: <MAILER-DAEMON@mail10.scom.ca>
Received: from deliver ([unix socket])
	 by mail10.scom.ca (Cyrus v2.4.17) with LMTPA;
	 Wed, 07 Apr 2021 08:46:33 -0400
X-Sieve: CMU Sieve 2.4
Received: from mail.scom.ca (localhost [127.0.0.1])
	by smtp.scom.ca (Postfix) with ESMTP id 753D347A23C
	for <paul@scom.ca>; Wed,  7 Apr 2021 08:46:33 -0400 (EDT)
Received: from secure.scom.ca (secure.scom.ca [65.39.148.16])
	by mail10.scom.ca (Postfix) with ESMTPS id 2131F1AFCC2
	for <paul@scom.ca>; Wed,  7 Apr 2021 08:45:55 -0400 (EDT)
Received: from [192.168.0.26] (cpef4c1149383f3-cmf4c1149383f1.cpe.net.cable.rogers.com [173.34.170.254])
	(Authenticated sender: howard@willsagriquipandfencing.ca)
	by secure.scom.ca (Postfix) with ESMTPSA id 7645B215FEE
	for <paul@scom.ca>; Wed,  7 Apr 2021 08:45:54 -0400 (EDT)
To: "Paul Kudla (Scom.ca)" <paul@scom.ca>
From: "Howard Wills (Wills Agriquip & Fencing)"@mail.scom.ca
Subject: test
Message-ID: <86030de1-0bbd-eba0-69f4-4f74b80d9753@willsagriquipandfencing.ca>
Date: Wed, 7 Apr 2021 08:45:55 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.9.0
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-scomca-MailScanner-Information: Please contact the ISP for more information
X-scomca-MailScanner-ID: 2131F1AFCC2.A93DC
X-scomca-MailScanner: Found to be clean
X-scomca-MailScanner-From: howard@willsagriquipandfencing.ca
X-Spam-Status: No

from address is supose to be 

Howard Wills (Wills Agriquip & Fencing) <howard@willsagriquipandfencing.ca>

NOT

"Howard Wills (Wills Agriquip & Fencing)"@mail.scom.ca

ie the mail server seems to be trying to interpert a bad from address from the sender replacing willagriquipandfencing.ca with my mail server mail.scom.ca?