From: Carlos E. R. <rob...@te...> - 2017-07-28 17:29:22
|
On 2017-07-28 19:13, Matthias Andree wrote: > Am 28.07.2017 um 03:12 schrieb Carlos E. R.: >> >> >> Config is: >> >> poll imap.telefonica.net with proto imap timeout 20, and tracepolls >> user USERNAME, with password PASSWORD, is cer here, and >> fetchall, expunge 20, folders Inbox, Spam, Junk >> >> >> >> >> The log goes thus: >> ... >> <2.6> 2017-07-28 02:30:08 minas-tirith fetchmail 10071 - - SMTP>. (EOM) >> <2.6> 2017-07-28 02:30:08 minas-tirith fetchmail 10070 - - IMAP< * >> BYE Logging out >> <2.6> 2017-07-28 02:30:08 minas-tirith fetchmail 10070 - - IMAP< >> A0067 OK Logout completed. >> <2.3> 2017-07-28 02:30:08 minas-tirith fetchmail 10070 - - >> client/server synchronization error while fetching from >> ...@imap.telefonica.net >> <2.6> 2017-07-28 02:30:08 minas-tirith fetchmail 10070 - - 6.3.26 >> querying imap.telefonica.net (protocol IMAP) at 2017-07-28T02:30:08 >> CEST: poll completed >> <2.6> 2017-07-28 02:30:08 minas-tirith fetchmail 10070 - - Query >> status=7 (ERROR) >> >> I have to run fetchmail several times in order to fetch it all, >> because it aborts at each error. >> >> Can I do something? > > Hi Carlos, > > is there anything accessing the mailboxes at the same time, for instance > another e-mail client (thunderbird, kmail, evolution) that is also > deleting messages? There is Thunderbird, of course, but it is not deleting messages. I have had Th and fetchmail running this way for many years with the same accounts, and never a problem. > Fetchmail is downloading and marking 20 messages as deleted, issues > "EXPUNGE" and the server reports 21 or more messages expunged, which > confuses fetchmail (meaning: nobody has written code to deal with > something else accessing the mailbox at the same time). > > If you are 100% sure fetchmail is the only client accessing the server > at the same time, then file a report to the server's operators, > otherwise, the workaround would be to not make fetchmail delete messages > so it doesn't expunge either. Only fetchmail should be doing expunges. Thunderbird is running but doing nothing at those times (I run fetchmail manually), so I just watch the mail count go down on all mail accounts till it gets to zero. > > The relevant source code comment is: > >> /* if there is a mismatch between the number of mails which should >> * have been expunged and the number of mails actually expunged, >> * another email client may be deleting mails. Quit here, >> * otherwise fetchmail gets out-of-sync with the imap server, >> * reports the wrong size to the SMTP server on MAIL FROM: and >> * triggers a "message ... was not the expected length" error on >> * every subsequent mail */ >> if (deletions > 0 && deletions != actual_deletions) >> { >> report(stderr, >> GT_("mail expunge mismatch (%d actual != %d expected)\n"), >> actual_deletions, deletions); >> deletions = 0; >> return(PS_ERROR); >> } Thanks. I rather suspect the ISP. They have been doing things. Another error I see is that now and then ALL email disappears from the Thunderbird inbox, me doing nothing. Suddenly, the inbox is empty. If I run fetchmail it also finds nothing. So I send an email to that account, the mail appears after a minute, and suddenly, the rest of the inbox reappears, perhaps 300 mails. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar) |