outlook with the /go/outlook Command

/go/outlook emails mail-client setup details to your mailboxes, so people can configure Outlook or any other mail app. Each mailbox receives two messages: The connection details depend on which SSL certificates exist on the server (see Which settings the email contains). You can send to a single mailbox, to every mailbox of one domain, or to every mailbox on the server. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# Send the setup emails to one mailbox
/go/outlook info@example.com example.com

Options

The command takes positional arguments and has no -- options.

Argument Required Default Notes
email Yes — A mailbox address, or all for every mailbox.
domain See notes — With a single address, pass the mailbox’s domain: it is used to build the hostnames in the email. With all, it limits the send to that domain.

[!WARNING]
With a single address, domain is not taken from the address. If you leave it out, the email can contain incomplete hostnames such as imap. and smtp.. Always pass the domain with a single address.

Examples

# One mailbox
/go/outlook info@example.com example.com

# Every mailbox of one domain
/go/outlook all example.com

# Every mailbox on the server
/go/outlook all

# Check that the messages were sent (sent from goadmio@..., so check the mail log)
grep 'IMAP Configuration' /var/log/maillog | tail

Output

The command prints nothing when it works. It doesn’t report how many emails were sent or whether delivery succeeded.

Outcome What you get
Emails handed to the mail system Nothing printed. Each recipient gets two messages.
Server hostname has fewer than 2 dots OUTLOOK:Invalid Server Hostname, A hostname should consist of a name and a domain name. All valid hostnames should have 2 dots in them. Exit status 1. Nothing is sent.

The emails

Each mailbox receives these two messages, sent from GoAdmio<goadmio@...> (see The sender address):

Subject Content
IMAP Configuration (<email>) The IMAP and SMTP settings, with a contact line.
Download GoAdmio FTP A short description and a download link for the GoAdmio FTP client (Go-FTP.exe).

Example IMAP message when SSL is installed for the domain:

Incoming Mail Server (IMAP):
Account Type: IMAP
Hostname: imap.example.com
PORT: 993
Encryption: SSL

Outgoing Mail Server (SMTP):
Hostname: smtp.example.com
PORT: 465
Encryption: SSL

Log

Each run appends one line to /var/log/go/outlook.log:

[Nov 21 12:00:00]# outlook info@example.com example.com

See the full reference at /go/outlook and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *