Menu

#955 email deletion

open
5
2003-01-28
2003-01-28
No

I have had some customers when they select a few of
the email's in their message box, and then click on
delete, it will delete ALL messages in their mail file.
This has only happen just a handfull of times, but the
customers are still not that happy that it happened.
Does anybody know about this? Is there a fix? Below
is more system information:

Slackware linux 2.3
Usermain .98
Webmin .98 just upgraded to 1.050
email directory /var/spool/mail

Any help with this problem would be great. Thanks in
advance. Bill

Discussion

  • Jamie Cameron

    Jamie Cameron - 2003-01-28

    Logged In: YES
    user_id=129364

    This has been reported by a few people in the past, but I
    have never been able to re-produce it or find the problem ..
    so it is still officially unsolved.

     
  • Nobody/Anonymous

    Logged In: NO

    I've encountered the same issue. Lookin at the logic in the
    delete mail script, I could see how the hidden input values
    could be to blame if there was somehow a javascript error.

     
  • Nobody/Anonymous

    Recently had this problem reported with the 1.370 version of usermin on a FC5 platform with IE7 browser, webmin 1.441, email is /var/spool/mail. Seems to manifest itself during a condition where the user deletes multiple messages, clicks OK to initiate the activity, and the activity coincides with a refresh cycle for the mailbox. I've had the same user lose their mailbox 3 times now.

     
  • Jamie Cameron

    Jamie Cameron - 2008-11-29

    By a 'refresh cycle', do you mean when the mail list gets automatically refreshed?

     
  • Alan Chan

    Alan Chan - 2008-11-29

    that is correct. The problem occurs when the mail list gets automatically refreshed.

    I suggested as an interim workaround to enter into preferences and disable refresh every X seconds to do not refresh. This would force the user to manually refresh the page with the browser button, but if it helps eliminate or narrow the problem down, why not? :)

    As a backup to that I have the system procmail creating duplicate messages in an archive folder located in the users home maildir "just in case"

     
  • Jamie Cameron

    Jamie Cameron - 2008-11-29

    Thanks - I will work on improved locking in the next Usermin release to avoid this, and fix the way mbox deletion is done to avoid writing out the whole file.

    Also, I would recommend using Maildir for mail storage if you can - it is so much safer when it comes to concurrent access.

     

Log in to post a comment.

Auth0 Logo