Thunderbird sends invalid IPv6 literal in HELO, rejected by Postfix
Categories
(MailNews Core :: Networking: SMTP, defect)
Tracking
(thunderbird_esr78 unaffected, thunderbird89+ fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | unaffected |
thunderbird89 | + | fixed |
People
(Reporter: bernie, Assigned: mkmelin)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36
Steps to reproduce:
Send an email to my STMP relay on port 465 (TLS) from a host with IPv6 connectivity.
I tried with both Thunderbird 89b1 (beta) and Thunderbird 90a1 (nightly).
Actual results:
Thunderbird shows:
Sending of the message failed.
The message could not be sent using Outgoing server (SMTP) smtp.sugarlabs.org
for an unknown reason. Please verify that your Outgoing server (SMTP) settings
are correct and try again.
Postfix on smtp.sugarlabs.org logged this error:
Apr 26 06:24:01 sunjammer postfix/smtpd[2901968]: connect from unknown[2405:XXXX:XXXX:XXXX::21]
Apr 26 06:24:03 sunjammer postfix/smtpd[2901968]: NOQUEUE: reject: RCPT from unknown[2405:XXXX:XXXX:XXXX::21]: 501 5.5.2 <[2405:XXXX:XXXX:XXXX::21]>: Helo command rejected: invalid ip address; from=<bernie@codewiz.org> to=<xxxx@gmail.com> proto=ESMTP helo=<[2405:XXXX:XXXX:XXXX::21]>
Expected results:
Postfix should have accepted the email as usual.
I've been using this server for years, and it runs Postfix 3.4.13-0ubuntu1 which was released one year ago.
Assignee | ||
Comment 1•3 years ago
|
||
Probably from bug 1701804 - https://hg.mozilla.org/comm-central/rev/512138052532
Though I wonder if that's not a Postfix bug...?
Assignee | ||
Comment 2•3 years ago
|
||
Actually, I see now...
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/3a0a98d2b98a
Correct IPv6 address family detection, to send correct IPV6 literal in SMTP HELO. r=rnons
Assignee | ||
Comment 5•3 years ago
•
|
||
Comment on attachment 9218302 [details]
Bug 1707543 - Correct IPv6 address family detection, to send correct IPV6 literal in SMTP HELO. r=rnons
[Approval Request Comment]
Regression caused by (bug #): bug 1701804
User impact if declined: May not be able to send if using IPv6 connectivity
Testing completed (on c-c, etc.): just landed on c-c
Risk to taking this patch (and alternatives if risky): it's a trivial typo-kind of fix
Assignee | ||
Updated•3 years ago
|
Reporter | ||
Comment 6•3 years ago
|
||
Thank you for the quick fix, Magnus. I confirm that the problem is resolved in 90.0a1 2021-04-27.
Reporter | ||
Updated•3 years ago
|
Assignee | ||
Comment 7•3 years ago
|
||
Thanks for verifying!
Comment 8•3 years ago
|
||
Comment on attachment 9218302 [details]
Bug 1707543 - Correct IPv6 address family detection, to send correct IPV6 literal in SMTP HELO. r=rnons
[Triage Comment]
Approved for beta
Comment 9•3 years ago
|
||
bugherder uplift |
Thunderbird 89.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/462d26732f9f
Description
•