From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18984 invoked from network); 5 Jul 2023 16:56:45 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 5 Jul 2023 16:56:45 -0000 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qH5nw-0005Hh-QD; Wed, 05 Jul 2023 12:56:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qH5nq-0005HO-VT for info-gnus-english@gnu.org; Wed, 05 Jul 2023 12:56:31 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qH5np-0007nl-2X for info-gnus-english@gnu.org; Wed, 05 Jul 2023 12:56:30 -0400 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1b8a8154f9cso7047605ad.1 for ; Wed, 05 Jul 2023 09:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bobnewell-net.20221208.gappssmtp.com; s=20221208; t=1688576186; x=1691168186; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:organization:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=blAxP35nK31dQW5xNDaduzYUqff3JvgQfSJEb2TBuRg=; b=jxOu0vismB8Q07SBATGayDaydaOESSOVPt7lq5KFaGntO9Jz0zwDRJEZbVDnuEqVo5 7ljRzPH0bSgtz1BFfncJ2mlvpse1c3xyCPvdgD3eUw9wuN+5mu3D/AVGyiwGvqwGnbmt gqRz5HeyuJtwWAUwXbUtw2kTVX0PdNMnh85lGFFAOnqmBW1Op7BhABu9T+it1j8/YOQK ns3osvQxPqGiXCox7TDpnxSofP2LB0lxpDKVf4F8EKb6FxZJ7SEwVzrBkXrR7qfx5A+/ rQ2VCkYvDC0Ofmahhej0XpBvK4F2JLRp9PT0/Z+b5t/7cFRy0rjF5bq+n7Za6aDXYk8E qCwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688576186; x=1691168186; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:organization:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=blAxP35nK31dQW5xNDaduzYUqff3JvgQfSJEb2TBuRg=; b=llFTFwEgeiH3kA8Wb4aGZptjaSB4EW/KhS1JgRJn9j/d6Bg6ryEyGzZpJiDdN89QHg tFaPk/1/Cw9H2x01PjpjIoqDgrJO/Gdw4qaORK+5lSPnt5yoIsYJBPyS1pjTJan1tEM4 o5THgfH6uOdHeBA9xKaaxoUVl2ug27CcuFlozUhpew70rfbymcrdA88HTDpNCABsOcUa Q7eb/h1ImQllRZjNVr/q7uc3Fg2DW7Cd4XVo2rxyjwFc+5x9cJNfq5EsVrNMwfZyzNsf t1KQjctyrrIpj5uVYlSkpxSO34xxt/R5h5LHs9dFVjxhP958Dpx81m2L25tRDqrsN01m TrGw== X-Gm-Message-State: ABy/qLZHrP1LRsNGHh5iU9jKX1HplIcX/eaRPdc+WHRq8CjsVgK+fSly tQxhAepDJXvU2n+Y2tHip0mzBvs3buiIVQlBsIo= X-Google-Smtp-Source: APBJJlE8jYF7713BeyCpTbxPdOLpFnWi1Uqe0FHRj0Uc6Y1YmGitbfxrKEU49W67JlCnTZrx69yTtg== X-Received: by 2002:a17:902:da89:b0:1b8:a6be:ea82 with SMTP id j9-20020a170902da8900b001b8a6beea82mr3356263plx.26.1688576185895; Wed, 05 Jul 2023 09:56:25 -0700 (PDT) Received: from localhost (dhcp-141-239-241-54.hawaiiantel.net. [141.239.241.54]) by smtp.gmail.com with ESMTPSA id v7-20020a1709029a0700b001b7fd27144dsm17482611plp.40.2023.07.05.09.56.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jul 2023 09:56:25 -0700 (PDT) From: Bob Newell To: info-gnus-english@gnu.org Cc: Subject: Gmail slowness/occasional SMTP hang Organization: Avi Gobbler Publishing References: <87sfa9nhp4.fsf@gmail.com> <87ttuoeoej.fsf@gmx.net> <87mt0e1h0u.fsf@gmail.com> <87h6qlsw3n.fsf@ericabrahamsen.net> <87o7ktjgmw.fsf@ucl.ac.uk> <871qho7qbl.gsojqw@emmgtsajj.wfuykysux.com> <87sfa4857z.fsf@gmail.com> Date: Wed, 05 Jul 2023 06:56:24 -1000 In-Reply-To: <87sfa4857z.fsf@gmail.com> (Robert Pluim's message of "Tue, 04 Jul 2023 10:13:04 +0200") Message-ID: <87lefuthzb.axeajpoo_-_@ucixln.kckk.net> User-Agent: Brave/5.5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2607:f8b0:4864:20::635; envelope-from=bobnewell@bobnewell.net; helo=mail-pl1-x635.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org > > 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=CA=BCs imap folder size limit to something less than infinity (I use > 1000). But I don=CA=BCt fetch from gmail to local, I leave everything on > google=CA=BCs 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=CA=BCs been some work in this area in emacs-29 and/or emacs > master to make the code more robust. You could try using emacs=CA=BCs > 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. --=20 Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB