El día Friday, October 14, 2016 a las 12:43:37PM +0100, James Freer escribió:
> On Fri, 14 Oct 2016, KONRAD Frederic wrote: > > > > > > Le 13/10/2016 à 21:15, James Freer a écrit : > >> On Thu, 13 Oct 2016, KONRAD Frederic wrote: > >> > >>> Hi everybody, > >>> > >>> I'm new to Mutt and I'm trying to get emails from my yahoo IMAP account > >>> so > >>> I configured ~/.muttrc like this: > >>> > >>> set folder=imaps://konrad.frede...@imap.mail.yahoo.com > >>> set spoolfile=imaps://konrad.frede...@imap.mail.yahoo.com/INBOX > >>> set header_cache=~/.mutt_headers > >>> > >>> As a result I'm asked for the password when I launch `mutt`. > >>> Then it starts downloading the email headers.. Then it fails after 5~6 > >>> minutes without having a chance of finishing to get the headers. > >>> > >>> The end of the debug log says the following: > >>> > >>> [2016-10-13 11:01:12] 5< ) > >>> [2016-10-13 11:01:12] parse_parameters: `charset="us-ascii"' > >>> [2016-10-13 11:01:12] parse_parameter: `charset' = `us-ascii' > >>> [2016-10-13 11:01:12] 5< * BYE IMAP4rev1 Server logging out > >>> [2016-10-13 11:01:12] Handling BYE > >>> [2016-10-13 11:01:12] IMAP4rev1 Server logging out > >>> [2016-10-13 11:01:14] Erreur à l'ouverture de la boîte aux lettres > >>> [2016-10-13 11:01:15] mutt_free_body: not unlinking > >>> newsletter_201212.html. > >>> [2016-10-13 11:01:15] mutt_free_body: not unlinking > >>> newsletter_201301.html. > >>> [2016-10-13 11:01:15] mutt_free_body: not unlinking > >>> newsletter_201302.html. > >>> [2016-10-13 11:01:15] mutt_free_body: not unlinking > >>> newsletter_201303.html. > >>> [2016-10-13 11:01:15] mutt_free_body: not unlinking > >>> newsletter_201304.html. > >>> [2016-10-13 11:01:15] mutt_free_body: not unlinking > >>> newsletter_201305.html. > >>> [2016-10-13 11:01:15] > >>> is_from(): parsing: konradf@asus Thu Oct 13 09:16:38 2016 > >>> [2016-10-13 11:01:15] is_from(): got return path: konradf@asus > >>> [2016-10-13 11:01:15] is_from(): month=9, day=13, hr=9, min=16, sec=38, > >>> yr=116. > >>> [2016-10-13 11:01:15] parse_parameters: `charset=us-ascii' > >>> [2016-10-13 11:01:15] parse_parameter: `charset' = `us-ascii' > >>> [2016-10-13 11:03:38] mutt_index_menu[697]: Got op 147 > >>> > >>> > >>> I tried to add the following lines in the config file but it didn't > >>> change > >>> anything: > >>> > >>> set imap_keepalive = 60 > >>> set imap_idle=yes The above two parameter have nothing todo with the problem; > >>> > >>> I've ~30K emails on this account is that the issue? > >>> Any idea how I can fix that? I do not think, having ~30K mails in a mailbox is a good idea at all, and fetching down 30K headers on every mutt connect for sure is not either. If I were you, I would use fetchmail to fetch them down to a local mbox, first with a run without deleteing them on the server and in a 2nd run deleting them on the server. HIH matthias -- Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 Einheitsfeier? Nein, danke! Kann ich bitte mein Land wiederhaben und am 7. Oktober feiern.