Skip to content

connect agent mail

connect agent mail

A command for configuring mail

Synopsis

A command used to add users for mail services.

Without flags it prompts for the account and its password. With --address it creates that account, or sets the password of one that already exists, and with --password-stdin it reads the password from standard input, so it can run unattended:

printf '%s\n' "$PASSWORD" | connect agent mail --address alice --password-stdin

connect agent mail [flags]

Options

      --address string                     Account to create or update without prompting: user@domain, or a user name for each of the agent's mail domains
  -c, --config string                      config file (default "$HOME/.config/dioad/connect/agent.yaml")
  -h, --help[=true|false]                  help for mail
      --management-listen-address string   
      --password-stdin[=true|false]        Read the password from the first line of standard input (needs --address)

SEE ALSO