-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Monday, July 20 at 09:30 AM, quoth bill lam: > I use imap server for gmail. When a read an email in the pager or > composing a long new message and if that takes more than several > minute, the connection to imap server become disconnected. It seems > the connection to imap can only be maintained alive in the index page. > Is there any workaround?
There's no quick answer to this, because it largely depends on why you're being disconnected. For example, it could be that you have imap_idle on, but a very high (or absurdly low) imap_keepalive (IDLE may not be used for some reason while you're composing new messages). What are your timeout- and imap-related settings? > Another issue not sure related to imap or not. Suppose I mark read > or delete some messages in the index and press $ to update. It > seems updated, but if the connection to imap became broken before > closing down mutt. The next time opening the mailbox index it still > shows those messages as new or not deleted. How to tell mutt to > really flush changes when press $. I use header and body cache if > it matters. That's supposed to work (and it works for me on my IMAP systems). If it doesn't work for you, either it's taking too long to sync and mutt isn't getting finished, or gmail isn't handling those commands correctly (gmail is notorious for IMAP bugs). ~Kyle - -- As an adolescent I aspired to lasting fame, I craved factual certainty, and I thirsted for a meaningful vision of human life. So I became a scientist. This is like becoming an archbishop so you can meet girls. -- M. Cartmill -----BEGIN PGP SIGNATURE----- Comment: Thank you for using encryption! iQIcBAEBCAAGBQJKZitOAAoJECuveozR/AWe0ewQAKrqhh7910UTmPbrdf5bwCtR VA2YsGePbFcmrUwSDLIsnqgRLAHNKNNDhOArxcsscJBACuIz6Ggehm+4z+IxIGsc 6m1Pfi+rMgI4EGGihTwbZyRgnyLtbDylQHVSc/sNc4Q9p6cD3gX/F7fJDMh97EU+ QdphmuJz2ZvtpbsBwtRO0ud+g2WRv+NYZp8PKW3tIM9ETxy5tu3BliD5gNAIuYBG JkHhCwruHyqyDtCSLk7BpNqBU0URSLC/BStNgxOHFNRUv/0jHHRspyE/MtKgKSHe 9zs9Ekzc+W8mFwRaLOPQwUY53ZZTfb524xhXzaG0geq0XO+nOC8rrUHXGuu+vSUW 3Bk1V7JtLi7N5gOqfqg10LevJxxXOOY2ux5sfvKgpnyZbVT3uy1kQXHzluoRAuiy tta+d4rfHavMrGT1Qz//HbImQc9rWANJuVnyD0+vjRCtTRBafc2g9kqbO9Q1n9j7 maG07eTWdVVkq1c2Fyqs5cNTVqkgsWWeYTzAFc32NzTRWB5ZCj3r1gCWKjFMxh9q 5CumbpFpQRbmiYspteo2FUmJOeJm4/K2GlMTtYuZkrXobFFqxvq8Amu2bF3m1b7M faw2J1WotNIRBOvymJ6Lk7wb7PBchrTZeXOz7ICDbAZwEcYf9Q+Z8ayjugZ7is65 rQDanLZvMxS8myxmtyKY =O96y -----END PGP SIGNATURE-----