Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Keeping IMAP connection alive when using it in mail-sources
@ 2023-01-08 18:10 Eric Abrahamsen
  2023-01-10 18:18 ` Adam Sjøgren
  0 siblings, 1 reply; 7+ messages in thread
From: Eric Abrahamsen @ 2023-01-08 18:10 UTC (permalink / raw)
  To: info-gnus-english

Adam Sjøgren <asjo@koldfront.dk> writes:

>   Hi,
>
>
> I was wondering if there is a way to use IMAP in mail-sources ("as
> POP"), but without closing the connection after every
> gnus-group-get-new-news?

Not with the code as it's written! There's a very definite
(imap-close buf) at the end of the mail source fetching, then the buffer
is deleted. I guess it wouldn't be a bad idea to add a keepalive option
to imap.el, but someone would have to do that!



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Keeping IMAP connection alive when using it in mail-sources
@ 2023-01-07 23:49 Adam Sjøgren
  0 siblings, 0 replies; 7+ messages in thread
From: Adam Sjøgren @ 2023-01-07 23:49 UTC (permalink / raw)
  To: info-gnus-english

  Hi,


I was wondering if there is a way to use IMAP in mail-sources ("as
POP"), but without closing the connection after every
gnus-group-get-new-news?

All my nntp-connections are kept alive and pressing "g" in the *Group*
buffer is pretty fast, except for the tls connection and login on the
IMAP-server that happens every time.

It would be nice if Gnus would just keep the connection open.


  Best regards,

    Adam

(I use IMAP "as POP" because I like having all my email locally, indexed
by notmuch, with local spam-classification by crm114 and so on and so
forth.)

-- 
 "I am not tropical. I am not a damn toucan."               Adam Sjøgren
                                                       asjo@koldfront.dk



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-01-15 19:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-08 18:10 Keeping IMAP connection alive when using it in mail-sources Eric Abrahamsen
2023-01-10 18:18 ` Adam Sjøgren
2023-01-10 19:24   ` Adam Sjøgren
2023-01-10 20:08     ` Emanuel Berg
2023-01-14 21:29     ` Adam Sjøgren
2023-01-15 19:55       ` Adam Sjøgren
  -- strict thread matches above, loose matches on Subject: below --
2023-01-07 23:49 Adam Sjøgren

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).