gnus-open-server-hook

gnus-open-server-hook is a variable defined in `gnus-int.el'.
Its value is
nil

  • This variable may be risky if used as a file-local variable.

Documentation:
Hook called just before opening connection to the news server.

You can customize this variable.