danchoi / vmail

a vim interface for gmail
http://danielchoi.com/software/vmail.html
MIT License
785 stars 59 forks source link

Deleted messages not really gone #155

Open lungpu opened 11 years ago

lungpu commented 11 years ago

When I mark a message as deleted, I get the notification that it was marked as deleted but if I refresh my mail list (get mail) that or those deleted mesages reappear in the Inbox.

I don't usually go to the Bin to delete permanently the messages (yes, I am too lazy to do it) but here it seems that the deletion mark doesn't get applied or saved.

Any hint? maybe a bug?

danchoi commented 11 years ago

Can you paste the ~/.vmail/defaults/vmail.log output that you get when you try deleting a message and don't actually manage to delete it?

lungpu commented 11 years ago

I can, here it is:

D, [2013-11-14T13:37:23.522766 #7857] DEBUG -- : Flag [30780] Deleted +FLAGS D, [2013-11-14T13:37:23.522905 #7857] DEBUG -- : Deleting uid_set: [30780] D, [2013-11-14T13:37:23.522964 #7857] DEBUG -- : Decremented max seqno from 7877 to 7876 D, [2013-11-14T13:37:23.523352 #7857] DEBUG -- : imap.uid_copy [30780] to D, [2013-11-14T13:37:23.948900 #7857] DEBUG -- : Error: No folder NIL (Failure) D, [2013-11-14T13:37:40.651142 #7857] DEBUG -- : Priming connection D, [2013-11-14T13:37:41.224978 #7857] DEBUG -- : Checking for new messages D, [2013-11-14T13:37:41.225534 #7857] DEBUG -- : Selecting mailbox "INBOX" D, [2013-11-14T13:37:42.175294 #7857] DEBUG -- : RUBY0017 OK [READ-WRITE] INBOX selected. (Success)

D, [2013-11-14T13:37:42.175762 #7857] DEBUG -- : Done D, [2013-11-14T13:37:42.176497 #7857] DEBUG -- : Getting mailbox status D, [2013-11-14T13:37:42.176605 #7857] DEBUG -- : Getting highest message id D, [2013-11-14T13:37:42.843598 #7857] DEBUG -- : Highest seqno: 7877 D, [2013-11-14T13:37:42.843830 #7857] DEBUG -- : Search #update_query D, [2013-11-14T13:37:43.162352 #7857] DEBUG -- : [INBOX POLLER]: INBOX POLLER: checking inbox D, [2013-11-14T13:37:43.162529 #7857] DEBUG -- : [INBOX POLLER]: Checking for new messages D, [2013-11-14T13:37:43.162617 #7857] DEBUG -- : [INBOX POLLER]: Selecting mailbox "INBOX" D, [2013-11-14T13:37:43.256013 #7857] DEBUG -- : - got seqnos: [7877] D, [2013-11-14T13:37:43.256179 #7857] DEBUG -- : - getting seqnos > 7876 D, [2013-11-14T13:37:43.256300 #7857] DEBUG -- : - setting max_seqno to 7877 D, [2013-11-14T13:37:43.256387 #7857] DEBUG -- : - new uids found: [7877] D, [2013-11-14T13:37:43.256474 #7857] DEBUG -- : Fetching headers for 1 messages D, [2013-11-14T13:37:43.889779 #7857] DEBUG -- : [INBOX POLLER]: RUBY0016 OK [READ-WRITE] INBOX selected. (Success)

D, [2013-11-14T13:37:43.890139 #7857] DEBUG -- : [INBOX POLLER]: Done D, [2013-11-14T13:37:43.890796 #7857] DEBUG -- : [INBOX POLLER]: Getting mailbox status D, [2013-11-14T13:37:43.890892 #7857] DEBUG -- : [INBOX POLLER]: Getting highest message id D, [2013-11-14T13:37:45.133225 #7857] DEBUG -- : [INBOX POLLER]: Highest seqno: 7877 D, [2013-11-14T13:37:45.133543 #7857] DEBUG -- : [INBOX POLLER]: Search

update_query

D, [2013-11-14T13:37:46.025697 #7857] DEBUG -- : [INBOX POLLER]: - got seqnos: [7877] D, [2013-11-14T13:37:46.025863 #7857] DEBUG -- : [INBOX POLLER]: - getting seqnos > 7877 D, [2013-11-14T13:37:46.025987 #7857] DEBUG -- : [INBOX POLLER]: - setting max_seqno to 7877 D, [2013-11-14T13:37:46.026068 #7857] DEBUG -- : [INBOX POLLER]: - new uids found: []

It tries to delete it and it disappears from the list but as soon as I update the list (recheck email) it gets back.

On 14 November 2013 12:00, Daniel Choi notifications@github.com wrote:

Can you paste the ~/.vmail/defaults/vmail.log output that you get when you try deleting a message and don't actually manage to delete it?

— Reply to this email directly or view it on GitHubhttps://github.com/danchoi/vmail/issues/155#issuecomment-28490212 .

Integralist commented 10 years ago

@danchoi @lungpu I have the same issue.

Output...

D, [2014-03-06T09:34:40.101271 #32011] DEBUG -- : Flag [25676] Deleted +FLAGS
D, [2014-03-06T09:34:40.101330 #32011] DEBUG -- : Deleting uid_set: [25676]
D, [2014-03-06T09:34:40.101367 #32011] DEBUG -- : Decremented max seqno from 47 to 46
D, [2014-03-06T09:34:40.101526 #32011] DEBUG -- : imap.uid_copy [25676] to 
D, [2014-03-06T09:34:40.301352 #32011] DEBUG -- : Error:  No folder NIL (Failure)
D, [2014-03-06T09:34:45.804629 #32011] DEBUG -- : Flag [25678] Deleted +FLAGS
D, [2014-03-06T09:34:45.804685 #32011] DEBUG -- : Deleting uid_set: [25678]
D, [2014-03-06T09:34:45.804717 #32011] DEBUG -- : Decremented max seqno from 46 to 45
D, [2014-03-06T09:34:45.804906 #32011] DEBUG -- : imap.uid_copy [25678] to 
D, [2014-03-06T09:34:46.126080 #32011] DEBUG -- : Error:  No folder NIL (Failure)
D, [2014-03-06T09:34:53.904635 #32011] DEBUG -- : Flag [25674] Deleted +FLAGS
D, [2014-03-06T09:34:53.904691 #32011] DEBUG -- : Deleting uid_set: [25674]
D, [2014-03-06T09:34:53.904720 #32011] DEBUG -- : Decremented max seqno from 45 to 44
D, [2014-03-06T09:34:53.904889 #32011] DEBUG -- : imap.uid_copy [25674] to 
D, [2014-03-06T09:34:54.064124 #32011] DEBUG -- : Error:  No folder NIL (Failure)
D, [2014-03-06T09:35:00.322157 #32011] DEBUG -- : Flag [25675] Deleted +FLAGS
D, [2014-03-06T09:35:00.322217 #32011] DEBUG -- : Deleting uid_set: [25675]
D, [2014-03-06T09:35:00.322248 #32011] DEBUG -- : Decremented max seqno from 44 to 43
D, [2014-03-06T09:35:00.322417 #32011] DEBUG -- : imap.uid_copy [25675] to 
D, [2014-03-06T09:35:00.505322 #32011] DEBUG -- : Error:  No folder NIL (Failure)
D, [2014-03-06T09:35:41.170162 #32011] DEBUG -- : Closing connection

...

D, [2014-03-06T09:13:46.077877 #31224] DEBUG -- : Flag [25676] Deleted +FLAGS
D, [2014-03-06T09:13:46.077946 #31224] DEBUG -- : Deleting uid_set: [25676]
D, [2014-03-06T09:13:46.077976 #31224] DEBUG -- : Decremented max seqno from 46 to 45
D, [2014-03-06T09:13:46.078123 #31224] DEBUG -- : imap.uid_copy [25676] to 
D, [2014-03-06T09:13:46.220629 #31224] DEBUG -- : Error:  No folder NIL (Failure)
D, [2014-03-06T09:14:37.265780 #31224] DEBUG -- : Priming connection
D, [2014-03-06T09:14:37.405811 #31224] DEBUG -- : Checking for new messages
D, [2014-03-06T09:14:37.405908 #31224] DEBUG -- : Selecting mailbox "INBOX"
D, [2014-03-06T09:14:37.557795 #31224] DEBUG -- : RUBY0013 OK [READ-WRITE] INBOX selected. (Success)
danchoi commented 10 years ago

Thank you. I'll take a look soon.

notalex commented 10 years ago

@lungpu, @Integralist, there were some reported issues about deleting emails for non English Gmail accounts. If your Gmail is not in English, maybe you are encountering a related issue. This issue has been fixed in version 2.9.0. Some additional configuration will be required as documented in this wiki. Let me know if your Vmail client still has this problem after update.

lungpu commented 10 years ago

My email account is set to language=English but maybe locales do perturb the script. I will check with version 2.9.0 andn write back to you with feedback.

Thanks

On 19 May 2014 12:33, Alex notifications@github.com wrote:

@lungpu https://github.com/lungpu, @Integralisthttps://github.com/Integralist, there were some reported issues about deleting emails for non English Gmail accounts. If your Gmail is not in English, maybe you are encountering a related issue. This issue has been fixed in version 2.9.0. Some additional configuration will be required as documented in this wikihttps://github.com/danchoi/vmail/wiki/Non-English-Gmail-accounts. Let me know if your Vmail client still has this problem after update.

— Reply to this email directly or view it on GitHubhttps://github.com/danchoi/vmail/issues/155#issuecomment-43519330 .

clemaitre58 commented 8 years ago

it seams i have the same problem.

I installed from germ this afternoon. NB . I have french gmail account.

D, [2016-01-02T20:33:08.858944 #5364] DEBUG -- : Fetching headers for 100 messages D, [2016-01-02T20:39:54.953974 #5364] DEBUG -- : Flag [45312] Deleted +FLAGS D, [2016-01-02T20:39:54.954057 #5364] DEBUG -- : Deleting uid_set: [45312] D, [2016-01-02T20:39:54.954107 #5364] DEBUG -- : Decremented max seqno from 21268 to 21267 D, [2016-01-02T20:39:54.954432 #5364] DEBUG -- : imap.uid_copy [45312] to

D, [2016-01-02T20:39:55.588362 #5364] DEBUG -- : Error: No folder NIL (Failure)

Moreover what are aliases for french gmail : https://github.com/danchoi/vmail/wiki/Non-English%28US%29-Gmail-accounts

notalex commented 8 years ago

Thanks for raising the question, @clemaitre58. I have updated the wiki page with information on finding the aliases.