Re: nntp and nnimap disconnect and take forever when emacs is idle

NNTP Surfer <[email protected]> Sat, 23 Nov 2024 05:28:11 -0500
Newsgroups gmane.emacs.gnus.general
Message-ID <[email protected]>
Divya Ranjan <[email protected]> writes:
> Thank you for this, it seems to have fixed it for nntp connections,
> but what about nnimap?

I use this and everything just works:

#+begin_src emacs-lisp
(nnimap "[email protected]"
        (nnimap-address "xxx.xxx.onet.pl")
        (nnimap-server-port "imaps")
        (nnimap-stream ssl)
        (nnimap-expunge 'immediate)
        (nnimap-keepalive (450 . 150)))
#+end_src