Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Bob Newell <bobnewell@bobnewell.net>
To: info-gnus-english@gnu.org
Subject: Gmail slowness/occasional SMTP hang
Date: Wed, 05 Jul 2023 06:56:24 -1000	[thread overview]
Message-ID: <87lefuthzb.axeajpoo_-_@ucixln.kckk.net> (raw)
In-Reply-To: <87sfa4857z.fsf@gmail.com> (Robert Pluim's message of "Tue, 04 Jul 2023 10:13:04 +0200")


>
>     Bob> Interestingly (to me at least!) is that I rarely encounter a
>     Bob> hang while fetching, although at times it can be terribly
>     Bob> slow--- I fetch via IMAP and just from gmail, and I blame gmail
>     Bob> for this for the most part.
>
> gmail IMAP can be excruciatingly slow. One mitigation is to set
> gmailʼs imap folder size limit to something less than infinity (I use
> 1000). But I donʼt fetch from gmail to local, I leave everything on
> googleʼs servers.
>
>     Bob> But what I do encounter from time to time is a hang when
>     Bob> sending.  I'll wait, press ctrl-g, and find the email has been
>     Bob> sent, but control was never returned.  This is with SMTP via
>     Bob> msmtp.  I've never tried to track it down as it isn't frequent
>     Bob> enough to be more than a small nuisance.
>
> I think thereʼs been some work in this area in emacs-29 and/or emacs
> master to make the code more robust. You could try using emacsʼs
> direct SMTP support, but that might not be a small change in your
> setup.

I've changed the topic since this is drifting from the
original subject.

I don't do local fetching either, so to speed up direct IMAP
fetching in gmail, I've set group levels so that on a regular
fetch, only INBOX is checked, rather than everything.  (For
instance the All Mail folder contains tens of thousands of
emails ... I don't want gnus to have to figure that one out
more that once or twice per session!)  Checking only INBOX
helps considerably, but even then at times the gmail IMAP
servers are slow, and gnus can be slow in processing.
(Webmail is orders of magnitude faster, but I prefer to stay
in Emacs.)

On the SMTP side, I've looked into the option you mentioned,
using direct SMTP support rather than relying on msmtp.
There's also the appeal of keeping everything within Emacs,
but I went down the msmtp road long ago because I have dozens
of email accounts and msmtp manages sender identities really
easily.  Switching over is probably desirable but would be many
hours of work.  But nevertheless thank you for the ideas.

-- 
Bob Newell
Honolulu, Hawai`i

- Via GNU/Linux/Emacs/Gnus/BBDB


  reply	other threads:[~2023-07-05 16:56 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-30 14:33 Gnus fetch freezes emacs Prashant Tak
2023-06-30 19:33 ` Stephen Berman
2023-07-01 10:41   ` Eric S Fraga
2023-07-01 18:00     ` Stephen Berman
2023-07-02 15:15   ` Prashant Tak
2023-07-02 23:59     ` Eric Abrahamsen
2023-07-03 12:15       ` Eric S Fraga
2023-07-03 12:58       ` Eric S Fraga
2023-07-03 16:36         ` Eric Abrahamsen
2023-07-04 11:31           ` Stephen Berman
2023-07-04 17:02             ` Eric Abrahamsen
2023-07-04 19:55               ` Stephen Berman
2023-07-05  3:50                 ` Eric Abrahamsen
2023-07-05  8:04                   ` Stephen Berman
2023-07-05 18:55                     ` Eric Abrahamsen
2023-07-05 20:09                       ` Stephen Berman
2023-07-05 20:34                         ` Eric Abrahamsen
2023-07-05 21:05                           ` Stephen Berman
2023-07-03 19:22         ` Bob Newell
2023-07-04  8:13           ` Robert Pluim
2023-07-05 16:56             ` Bob Newell [this message]
2023-07-02 17:37   ` yeti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lefuthzb.axeajpoo_-_@ucixln.kckk.net \
    --to=bobnewell@bobnewell.net \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).