Re: header_cache for mbox
On 16.07.2015, Heinz Diehl wrote: I'll recompile without hcache and report back. Ok, done. Still, hcache is a huge improvement in the way I reported in my other mails.
Re: header_cache for mbox
On Thu, Jul 16, 2015 at 05:37:46PM -0700, Ian Zimmerman wrote: On 2015-07-16 18:50 -0500, Derek Martin wrote: for lseek() to be useful, you need to know where to lseek to which you wouldn't in this case (if you want reliable parsing). That's easy though, obviously you need to fully parse unread messages, but once they're parsed, you just cache the offsets. What about deleting messages? What about editing (which mutt allows) or rethreading? Any of these actions will invalidate the offsets. Delete may or may not (it just sets a flag--I've long thought that mbox should have a fixed-width flag header so this can just be overwritten in place); but that need not necessarily be written out until the user syncs--a natural time to do a reparse. Expunging messages clearly would, as well as editing... but those operations are relatively rare. You'd need to reparse anyway, so... just do that. But you only need to reparse from the first modified message, so keeping the cache saves you some work even in that case. With mbox's typical use cases, it's far more likely that you'll modify messages near the end of the file than near the beginning, so usually this won't be a very costly operation. With very large mbox mailboxes, the time savings would be HUGE for typical usage patterns. The downside is, it's a lot more complex. -- Derek D. Martinhttp://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02 -=-=-=-=- This message is posted from an invalid address. Replying to it will result in undeliverable mail due to spam prevention. Sorry for the inconvenience. pgp8rPb0s84TZ.pgp Description: PGP signature
Re: Forcing viewing HTML for certain senders
Cameron Simpson writes: In particular, I maintain a mutt group htmlers to track specific senders which send useless plain text components. Keeps the condition readable. That's a great idea, thanks a lot for bringing that up.
Re: Fwd: MAP mailbox closed with Outlook.com
On 2015-07-17, Aurélien Rivet aurelienri...@hotmail.fr wrote: Hello, I am using Mutt on archlinux and I am going crazy because I just can't understand its strange behaviour. Let me explain: I want to read mails from Microsoft's free mail service Outlook.com (which replaced hotmail) using the IMAP protocol. Since mutt has embedded support for IMAP, I haven't installed an external program. The problem is that my mutt can't keep an IMAP connexion for a longtime and I get a mailbox closed message at the bottom after a random time. Very annoying. As I'm not a native english speaker, I used to think that I did something wrong in my .muttrc. So I decided to ask you for some advices. What can I do to solve my problem ? I have joined the content of my .muttrc with dummy address and password. I really appreciate any help you can provide. Try setting imap_keepalive? It defaults to 900 seconds, but I found with some servers a much smaller value was required. I currently have mine set to 30. [I've never used Outlook.com, but I have used other servers that would close mailboxes when used with the default value of 900.] From http://www.mutt.org/doc/manual/manual-6.html imap_keepalive Type: number Default: 900 This variable specifies the maximum amount of time in seconds that mutt will wait before polling open IMAP connections, to prevent the server from closing them before mutt has finished with them. The default is well within the RFC-specified minimum amount of time (30 minutes) before a server is allowed to do this, but in practice the RFC does get violated every now and then. Reduce this number if you find yourself getting disconnected from your IMAP server due to inactivity -- Grant Edwards grant.b.edwardsYow! Is this TERMINAL fun? at gmail.com
Re: Fwd: MAP mailbox closed with Outlook.com
On 2015-07-17, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2015-07-17, Aurélien Rivet aurelienri...@hotmail.fr wrote: The problem is that my mutt can't keep an IMAP connexion for a longtime and I get a mailbox closed message at the bottom after a random time. Try setting imap_keepalive? Now I see that you already tried setting it to 300. Try something like 60 or 30. -- Grant Edwards grant.b.edwardsYow! Is my fallout shelter at termite proof? gmail.com
Fwd: MAP mailbox closed with Outlook.com
Hello, I am using Mutt on archlinux and I am going crazy because I just can't understand its strange behaviour. Let me explain: I want to read mails from Microsoft's free mail service Outlook.com (which replaced hotmail) using the IMAP protocol. Since mutt has embedded support for IMAP, I haven't installed an external program. The problem is that my mutt can't keep an IMAP connexion for a longtime and I get a mailbox closed message at the bottom after a random time. Very annoying. As I'm not a native english speaker, I used to think that I did something wrong in my .muttrc. So I decided to ask you for some advices. What can I do to solve my problem ? I have joined the content of my .muttrc with dummy address and password. I really appreciate any help you can provide. -- Aurélien Rivet, M1 Informatique Centre d'Enseignement et de Recherche en Informatique Université d'Avignon et des Pays de Vaucluse set imap_user=dummy set imap_pass=dummy set alias_file = ~/.adressbook source $alias_file set realname = Dummy set from = dummy set use_from = yes set editor=`echo \$EDITOR` source ~/.mutt/mutt-colors-solarized-light-16colors.muttrc set header_cache = ~/.mutt/headercache set message_cachedir = ~/.mutt/messagecache set folder=imaps://$imap_user:$imap_p...@imap-mail.outlook.com:993/ set smtp_url = smtp://$imap_user:$imap_p...@smtp-mail.outlook.com:587/ set spoolfile = +INBOX set postponed = +Drafts set record = +Sent Items set ssl_starttls = yes set imap_passive = yes set imap_keepalive = 300 set imap_idle set signature=~/.signature
Re: Fwd: MAP mailbox closed with Outlook.com
set folder=imaps://$imap_user:$imap_p...@imap-mail.outlook.com:993/ set smtp_url = smtp://$imap_user:$imap_p...@smtp-mail.outlook.com:587/ set spoolfile = +INBOX set postponed = +Drafts set record = +Sent Items set ssl_starttls = yes set imap_passive = yes set imap_keepalive = 300 set imap_idle set signature=~/.signature I am FAR from an exprert, but I see a couple of differences between your .muttrc file and mine. I do not use Outlook.com, but I do connect to an IMAP account. In my case I have a line that says: set smtp_url=smtps://j...@jfniendorf.org@server_name.com/465 I have another line that lists the smtp password: set smtp_pass=dummy_password For the set folder lines I have: set folder=imaps://server_name.com:993 set folder=imaps://server_name.com/INBOX. This is followed by the login and password information: set imap_user=j...@jfniendorf.org set imap_pass=dummy_password -- John