Re: slow copying to IMAP folders
Vadim Zeitlin <[email protected]> Fri, 10 Nov 2017 15:05:27 +0100
| Newsgroups | gmane.mail.mahogany.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============3942419778216804987== Content-Type: MULTIPART/SIGNED; protocol="application/pgp-signature"; micalg=pgp-sha1; BOUNDARY="231121347-41-1510322727=:77800" --231121347-41-1510322727=:77800 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-Disposition: INLINE On Fri, 10 Nov 2017 14:34:25 +0200 Nerijus Baliunas via Mahogany-Developers <[email protected]> wrote: NB> If I have Fcc set as IMAP Sent folder, after I send message, M freezes NB> for about a minute. It does not if I don't have Fcc. It freezes when I NB> "Dispose as spam" (which copies to the IMAP foder) too. Any ideas why? Difficult to say. I also have the same setup and there is definitely some delay when sending messages, but it's of order of a second, not a minute. Of course, this is when the IMAP server is on the LAN, it could be worse if it's further away and the message (which needs to be uploaded to it) is big. I guess my answer to this problem would be the same as always: try running it under debugger and break into it when it hangs to see what exactly is it doing. Maybe do it a couple of times, i.e. continue after the break, then break again etc. If it really takes a minute, you should have no trouble debugging it in this way. Otherwise there are 2 optimizations you can use for your "Sent" folder: one is to keep it always open ("keep connection when idle" in the folder properties dialog) which can help if opening it takes a long time. The other, and less obvious, one is to clear the "folder tree format" string for it in "Folder tree" page to prevent M from updating the number of messages in it after sending the message, as just counting messages can take quite some time for big folders (but again, by "quite some", I mean seconds at most, so there is definitely something else going on in your case, until you run your IMAP server on a toaster or something). Good luck, VZ --231121347-41-1510322727=:77800 Content-Type: APPLICATION/PGP-SIGNATURE -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iEYEABECAAYFAloFsicACgkQBupB3k9sHoZNCQCfcbrsJMvCGSYu09xz+kpufjt5 TqgAni68m0sLt2MxlBUXGZOLWZelst8R =mn7k -----END PGP SIGNATURE----- --231121347-41-1510322727=:77800-- --===============3942419778216804987== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============3942419778216804987== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Mahogany-Developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mahogany-developers --===============3942419778216804987==--