bobbimanners / emailler

Email and Usenet suite for the Apple //e or GS with Uthernet-II ethernet card
http://bobbi.epizy.com
Other
30 stars 5 forks source link

EMAIL: Purge seems to be broken #49

Closed bobbimanners closed 3 years ago

bobbimanners commented 3 years ago

When I try to purge deleted messages I get 'Can't open /DATA/EMAIL/mbox/EMAIL.DB.NEW'. This is with v2.1.0 under development (develop branch.) Not sure what I busted ... too many open files maybe?

bobbimanners commented 3 years ago

Immediately after filing this, it worked for me, so it is not always broken!

bobbimanners commented 3 years ago

Maybe we are right on the edge of being out of memory! I had a 'cannot allocate' error while playing with that. That would explain the problem!

bobbimanners commented 3 years ago

I fixed this by removing my dubious new feature to delete all messages from current to end of folder. This saved enough memory so purge is working again.

I made the 'D' (Delete) and 'U' (Undelete) commands auto-advance to the next message, which is actually a cleaner solution for the use case of wanting to delete hundreds of messages to free up space.