Also see the dedicated surgemail.com website with knowledge base and ticketing system

Manager Deep Links

A deep link opens a particular page of the SurgeMail manager directly, for example from a bookmark, an email, a ticketing system or a URL built by a script. See Web Admin Login and Security for how the manager login works.

How deep links behave

  • If you aren't logged in, you get the login page first (and the MFA code, if you use MFA), then the linked page.
  • The commands listed below open straight away.
  • Any other command shows a Please confirm page that names the command, because a link from outside the manager could otherwise make it do things on your behalf. Choose Continue if you meant to run it.

Pages that open without confirmation

Links are of the form https://yourserver:7025/cgi/admin.cgi?command and parameters.

CommandOpens
cmd=managerThe manager front page
cmd=special&frame_page=page.htmA settings page by its template name, e.g. frame_page=domain_new.htm&domain=example.com
cmd=globalGlobal settings
cmd=domain&domainid=nA domain's settings
cmd=domainsThe domain list
cmd=statusThe Status page
cmd=logThe log viewer, including log searches given as parameters
cmd=user_adminThe user lookup page
cmd=user_accountsThe account list and search
cmd=user_details&username=user
or cmd_user_details=Lookup&username=user
One account's details

For example:
https://yourserver:7025/cgi/admin.cgi?cmd_user_details=Lookup&doframes=false&username=fred@example.com

Rules

  • A link must contain exactly one command: one cmd= parameter, or one cmd_name= button parameter. A link with a second command or a save button gets the confirmation page.
  • Add &doframes=false to show just the page, without the frames layout around it.
  • Links to the manager from scripts that log in with a username and password (HTTP Basic, from addresses in g_admin_relax_ip) aren't affected by any of this.

Asking for another page to be added

If you regularly link to a manager page that shows the confirmation page, the bottom of that page shows the link's URL (with any password values hidden). Email it to surgemail-support@netwinsite.com, and if the command only displays information we'll add it to the list.