Closed Bug 1783290 Opened 2 years ago Closed 2 years ago

"fetch headers only" option in Account Settings/Server Settings, but Thunderbird downloads the entire message - if server sends lowecase CAPA response

Categories

(MailNews Core :: Networking: POP, defect)

Thunderbird 102
defect

Tracking

(thunderbird_esr102+ fixed, thunderbird104 fixed)

RESOLVED FIXED
105 Branch
Tracking Status
thunderbird_esr102 + fixed
thunderbird104 --- fixed

People

(Reporter: attride, Assigned: rnons)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0

Steps to reproduce:

Retrieve messages from the server. Only the message headers should be retrieved but the entire message is retrieved

Actual results:

The entire message is being retrieved

Expected results:

Only the message headers should be retrieved.

Hi, thanks for reporting. Can you get some debug logs

  1. open Config Editor from Settings page, set mailnews.pop3.loglevel pref to All
  2. open Error Console
  3. trigger a "Get Messages"

You should see logs like

mailnews.pop3.1: Connecting to pop://pop3.localhost:110 Pop3Client.jsm:125:18
mailnews.pop3.1: Connected Pop3Client.jsm:259:18
mailnews.pop3.1: S: +OK Dovecot (Ubuntu) ready.
mailnews.pop3.1: C: CAPA 
mailnews.pop3.1: S: +OK
CAPA
TOP
UIDL
RESP-CODES
PIPELINING
AUTH-RESP-CODE
STLS
USER
SASL PLAIN LOGIN CRAM-MD5 GSSAPI NTLM EXTERNAL
.
mailnews.pop3.1: Possible auth methods: USERPASS,PLAIN,LOGIN

The part I need is the CAPA response

Component: Untriaged → Networking: POP
Product: Thunderbird → MailNews Core

I tried following your instructions but I do not see Config Editor etc., plus I am afraid to change anything what-so-ever.

(In reply to attride from comment #2)

I tried following your instructions but I do not see Config Editor etc., plus I am afraid to change anything what-so-ever.

This are non-destructive changes, there is nothing to fear.

  1. Open Settings
  2. type Config into the find field
  3. click on Config Editor
  4. paste mailnews.pop3.loglevel into the search
  5. click the pencil icon on the right
  6. Change Warn to All and click the checkmark
  7. open Error Console in Tools > Developer Tools
  8. trigger a "Get Messages"
  9. Check the error console
Flags: needinfo?(attride)
Summary: MY wife and I are both using a single Mac with Big Sur (11.6.8), and our email is POP with different email addresses. We both use the "fetch headers only" option in Account Settings/Server Settings but Thunderbird downloads the entire message. → "fetch headers only" option in Account Settings/Server Settings, but Thunderbird downloads the entire message.

OK. I did what you said but I the Error page does not provide a copy/paste function so here goes. I see some lines with yellow and white backgrounds but I concentrated on the lines with white background.
I see CAPA. It says "mailnews.pop3.104: C: CAPA". Below that line it says "mailnews.pop3.104: S: +OK".
The "mailnews.pop3.104: C: CAPA". changed to "mailnews.pop3.105: C: CAPA". The number 104 and 105 being the only difference.
I still have it open but can get a new one if you wish.

Flags: needinfo?(attride)

Note that there are six lines below "+OK" These are:
apop
pass
top
uidl
user
.

Also there are some lines in red letters which say "about:preferences : Unable to run script because scripts are blocked internally"

(In reply to attride from comment #5)

Note that there are six lines below "+OK" These are:
apop
pass
top
uidl
user
.

Thanks, these lines were lowercase in your Error Console?

I will make a fix.

Yes. Those six lines are lowercase in the Error Console screen. It does not allow copy/paste. If it did I would have copied/pasted.

Right click > Copy Message or Ctrl + c should do it. Anyway, I know the problem now, thanks.

Assignee: nobody → remotenonsense
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: regression
Regressed by: pop3-js
Summary: "fetch headers only" option in Account Settings/Server Settings, but Thunderbird downloads the entire message. → "fetch headers only" option in Account Settings/Server Settings, but Thunderbird downloads the entire message - if server sends lowecase CAPA response
Target Milestone: --- → 105 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/a1d64eb02808
Uppercase CAPA response in Pop3Client.jsm to fix fetching headers only. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Comment on attachment 9288680 [details]
Bug 1783290 - Uppercase CAPA response in Pop3Client.jsm to fix fetching headers only. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): bug 1707548
User impact if declined: Fetch headers only doesn't work for some servers, the full message body is fetched
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): low

Attachment #9288680 - Flags: approval-comm-beta?

Comment on attachment 9288680 [details]
Bug 1783290 - Uppercase CAPA response in Pop3Client.jsm to fix fetching headers only. r=mkmelin

[Triage Comment]
Approved for beta

Attachment #9288680 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9288680 [details]
Bug 1783290 - Uppercase CAPA response in Pop3Client.jsm to fix fetching headers only. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): bug 1707548
User impact if declined: Fetch headers only doesn't work for some servers, the full message body is fetched
Testing completed (on c-c, etc.): beta
Risk to taking this patch (and alternatives if risky): low

Attachment #9288680 - Flags: approval-comm-esr102?

Comment on attachment 9288680 [details]
Bug 1783290 - Uppercase CAPA response in Pop3Client.jsm to fix fetching headers only. r=mkmelin

[Triage Comment]
approved for esr102

good addition to the pop fixes

Attachment #9288680 - Flags: approval-comm-esr102? → approval-comm-esr102+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: