Gnus documentation says
A slightly different approach to foreign groups is to set the
gnus-secondary-select-methodsvariable. The select methods listed in this variable are in many ways just as native as the
gnus-select-methodserver. 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"))
gnus-init-file then Gnus will query
imap.second.com. Querying the servers could take a while for many reasons. How can I prevent Gnus from querying the servers at startup?