Closed Bug 279040 Opened 20 years ago Closed 4 years ago

Mails not delete on server, if i use filter with 'messages with only header'

Categories

(MailNews Core :: Networking: POP, defect)

1.8 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 89034

People

(Reporter: to.news2, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a6) Gecko/20050111
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a6) Gecko/20050111

If i use a mailfilter to move the specific message with only header in trash
folder AND exit mozilla-mail the message is delete(Option: Empty Trash on exit).

BUT the mail not delete on the server by next connection. Only delete the mail
on server, if i delete the mail in mozilla trashfolder by hand before i exit
mozilla mail!

on Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a6) Gecko/20050111

Reproducible: Always

Steps to Reproduce:
This Steps get from Bug https://bugzilla.mozilla.org/show_bug.cgi?id=185184+#c113:

get POP3 protocol log, then open new bug and write down
"X-UIDL" header contents in the bug, and attach protocol log & back-ups of
popstate.dat to the bug.

Test scenario will probably be as follows.
(1) Create a filter which move test mail to Trash.
    Eg. If subject is "test test test" Then move to Trash"
(2) Send a mail of subject="test test test" to yourself.
(3) Terminate Thunderbird
(4) Keep backup of popstate.dat in <server_name> directry
    under your Mail directry (UIDL and the mail status is held in this file).
(5) Enable POP3 protocol log and start Thunderbird
(6) Get mail(automatically on startup or manually)
    => The test mail will be moved to Trash
(7) Check UIDL of the mail
    - See "X-UIDL" header using View/Message Source
(8) Exit Thunderbird
    => The mail will be purged from Trash on exit
(9) Keep backup of protocol log file.
(10) Keep backup of popstate.dat again
(11) Enable POP3 protocol log and start Thunderbird again
(12) Connect to server again
(13) Exit Thunderbird
(14) Keep backup of protocol log file.
(15) Keep backup of popstate.dat again

See http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html#pop for
protocol log.
Do not forget to change "protocol:5" to "POP3:5" when POP3.
Please note that log file is overlayed on restart.

=> see Additional Information for result
Actual Results:  
mails stay on server

Expected Results:  
mails delete from server also filter the mail to trash

content from step (4) popstate.dat:
# POP3 State File
# This is a generated file!  Do not edit.

content from step (7) Message Source first 7 lines:
From - Wed Jan 19 22:37:58 2005
X-Account-Key: account1
X-UIDL: 543761d3eac2a97928f816b04b3d53c0
X-Mozilla-Status: 0401
X-Mozilla-Status2: 00000000

content from step (9) protocol log file:
file is empty (0 Bytes)

content from step (10) popstate.dat:
# POP3 State File
# This is a generated file!  Do not edit.

*pop.gmx.net 4399226
b 543761d3eac2a97928f816b04b3d53c0 1106170678

content from step (14):
file is empty (0 Bytes)

content from step (15):
# POP3 State File
# This is a generated file!  Do not edit.

*pop.gmx.net 4399226
b 543761d3eac2a97928f816b04b3d53c0 1106170678
What is your setting and sub-settings of "Leave messages on server"?

If "Leave messages on server" is checked, deletion from server will be done
according to sub-settings of it.
But if "Leave messages on server" is not checked, deletion from server is done
when additonal download is completed (I don't know what will/shoud happen when
moving to Trash or Emtpty Trash/Shift+Delete.)
(In reply to comment #1)
> What is your setting and sub-settings of "Leave messages on server"?

"Leave messages on server" is off in my testcase

> If "Leave messages on server" is checked, deletion from server will be done
> according to sub-settings of it.
> But if "Leave messages on server" is not checked, deletion from server is done
> when additonal download is completed (I don't know what will/shoud happen when
> moving to Trash or Emtpty Trash/Shift+Delete.)

i have the option "Leave messages on server" checked on for a test, but the
behavior stay

i use now a workaround for filter rule, i checked not moved in trash - i checked
now "delete from pop3-server", only i can't see the filtered mails, because the
mails shortly delete
(In reply to comment #2)
> i use now a workaround for filter rule, i checked not moved in trash - i checked
> now "delete from pop3-server", only i can't see the filtered mails, because the
> mails shortly delete

Will "Delete the message"(without "Delete from POP3 server") instead of "Move to
Trash folder" also be a workaround?
Status: UNCONFIRMED → NEW
Ever confirmed: true
> Will "Delete the message"(without "Delete from POP3 server") instead of "Move to
> Trash folder" also be a workaround?

i use only option "Delete from POP3 server"
Assignee: general → nobody
Component: General → Networking: POP
Product: Mozilla Application Suite → Core
QA Contact: general → networking.pop
Version: unspecified → 1.8 Branch
Product: Core → MailNews Core

duplicate of bug 89034 ?

more similar https://mzl.la/2PxezKR

Flags: needinfo?(rob.smeets)
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(rob.smeets)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.