Gnus documentation says
A slightly different approach to foreign groups is to set the
gnus-secondary-select-methods
variable. The select methods listed in this variable are in many ways just as native as thegnus-select-method
server. They will also be queried for active files during startup (if that's required), and new newsgroups that appear on these servers will be subscribed (or not) just as native groups are.
So, if I have
(add-to-list 'gnus-secondary-select-methods
'(nnimap "imap.first.com"))
(add-to-list 'gnus-secondary-select-methods
'(nnimap "imap.second.com"))
in my gnus-init-file
then Gnus will query imap.first.com
and imap.second.com
. Querying the servers could take a while for many reasons. How can I prevent Gnus from querying the servers at startup?