-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Wednesday, July 22 at 05:57 AM, quoth bill lam: > Does the imap_idle or imap_keepalive need to set explicitly in > current HEAD version of mutt?
If you want to use the IDLE feature of IMAP, then yes, you need to set $imap_idle yourself. The reason it defaults to off is that there are several IMAP servers that claim to support IDLE but which have major problems if you try to use it. For example, when mutt first started supporting IDLE, it exposed a bug (the same bug, oddly) in both BincIMAP's and Dovecot's IDLE support: they didn't like it when the IDLE command was pipelined after another command, and that caused them to disconnect the client (mutt). To my knowledge, Gmail implements IDLE correctly, so you can safely enable $imap_idle. The $imap_keepalive setting defaults to 900 seconds between IMAP commands; it should be small enough, but you may want to make it smaller. In the words of the muttrc man page: The default is well within the RFC-specified minimum amount of time (30 minutes) before a server is allowed to [disconnect you], 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. > # refresh imap inbox > # set imap_keepalive=300 You probably want to uncomment that. > # Don't wait to enter mailbox manually #unset imap_passive > > # Automatically poll subscribed mailboxes for new mail (new in 1.5.11) > set imap_check_subscribed=yes > > # Reduce polling frequency to a sane level > set mail_check=300 > > # And poll the current mailbox more often (not needed with IDLE in > post 1.5.11) > set timeout=300 That description is not quite accurate (I don't think). Check out this description: http://markmail.org/message/y7bbgghx4k2sxgtc ~Kyle - -- Having a family is like having a bowling alley installed in your brain. -- Martin Mull -----BEGIN PGP SIGNATURE----- Comment: Thank you for using encryption! iQIcBAEBCAAGBQJKZqH5AAoJECuveozR/AWeaUMQALDaY0YYXOXeQZ9DZ23pgHRL huac/ZeukQIWcNABm9XbI6NBEQD/dr+dLIj6cImMjeJ67OX2qPEInbIUOi4/QeLS zoHm+4cY+SSKFehd1wECQMvep5oeMHxVV+pZKrl8Hmx+CRGicxqQibMbpYvh02Z+ Ajl4G0uqdUCmWT/858e3qCqpaxX24uAz3gUIgTCiYAMGnHuXOvFIfFJ3LeTjVwcr uIxMCaz1blV+Bfh8xprFErIce0Uhk8XqL0Ni2RTHWEW7AXsfETN0EvqmWufzudeS +0auD9xpICtC8589EaQxsBxRJhjTdb+C/ak0F69OFjCtpfPvluA5vY+pZJIc1cdd nsxeAp9OdwTiDaliQHFJ061qW2xELnjP+afQEt0rEM98dPGLJKcLjqwsYSLUPieL 6xpGO2BYTTuuuZJxrNkMlrQf/rNOMLYwCN7XrdHh0cX/mYt3lHZe9uQw7vKfvmgE 7aMJZtsxWKQgmkRDB+5mlfNGg6lMV47W/B1zPxAYyosHqTEgMgxvflGPbXy6x7a6 BD0k75O+KxWylgCzda4Gq6rpGhuFJ5C1PHpvQCy5qzfkdT4b7LFluvGn4ooRE0WN anogrkuYirC7ceWGqh1tPw1WUtTg0aiK7Ml+49dXYdjUH+GccIhal7oLm87dXuU1 W7nUe/a+c0Khe4HKNcAc =HGRG -----END PGP SIGNATURE-----