Bug 77069 - mailx badly handles certain changes in mailbox
mailx badly handles certain changes in mailbox
Product: Red Hat Linux
Classification: Retired
Component: mailx (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Ivana Varekova
Depends On:
  Show dependency treegraph
Reported: 2002-10-31 13:48 EST by Josko Plazonic
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-12-03 05:01:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Simpe change to improve mails checking of mailbox status upon exit (1.13 KB, patch)
2002-10-31 13:49 EST, Josko Plazonic
no flags Details | Diff

  None (edit)
Description Josko Plazonic 2002-10-31 13:48:05 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)

Description of problem:
If mailbox, open by mail, gets shorter (e.g. because edited by another mail 
session) mail program will not detect that and it overwrites new mailbox with 
an old copy that it had in memory.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Open a mailbox folder with mail, make some small change.
2. Open it another time (with mail for example), delete a couple of emails and 
quit saving changes so that effect is a shorter mailbox.
3. Quit the mail program from step 1 saving changes.

Actual Results:  Result is the mailbox from 1) any changes made in the meantime 
are lost.  

Expected Results:  Mail should detect that mailbox got shorter and it should 
abort any changes.  

Additional info:

Mail also doesn't do any checking when mailbox got longer, what if again this 
was a result of action by another mail program.  Simple "fix" - check if added 
stuff begins with "From ".
Comment 1 Josko Plazonic 2002-10-31 13:49:30 EST
Created attachment 82944 [details]
Simpe change to improve mails checking of mailbox status upon exit
Comment 2 Ivana Varekova 2004-11-16 09:08:30 EST
Thank you for your notice.
The problem was fixed.
Comment 3 Ivana Varekova 2004-12-03 05:01:36 EST
Solved with -40.

Note You need to log in before you can comment on or make changes to this bug.