Synopsis

perch mail caps [OPTIONS]

Description

Connect to the configured submission server, perform EHLO, and print the advertised extensions. No message is sent and no credentials are used.

Aliases: capabilities.

Notes

  • The local perch relay advertises PIPELINING, 8BITMIME, ENHANCEDSTATUSCODES, SIZE, SMTPUTF8, STARTTLS, and AUTH on loopback or TLS.
  • It does not expose DSN, CHUNKING, BINARYMIME, REQUIRETLS, or DELIVERBY.

Options

OptionDescription
--username, -u <value>account username (env PERCH_IMAP_USER)
--password <value>account password (prefer PERCH_IMAP_PASSWORD or –password-file)
--password-file <value>read the account password from a file
--password-stdinread the account password from stdin
--timeout <value>connection timeout (default: 30s)
--config <value>configuration file (default: ~/.config/perch/perch.yaml)
--smtp-server, -S <value>SMTP submission server (smtps://host, smtp://host, or host[:port]); defaults from –config
--smtp-plaintextconnect to SMTP without TLS (use only on trusted networks)
--smtp-starttlsrequire STARTTLS for SMTP
--smtp-implicit-tlsuse implicit TLS for SMTP (usually port 465)
--smtp-insecureskip SMTP TLS certificate verification
--smtp-ca-file <value>PEM CA bundle used to verify the SMTP server certificate
--help, -hshow help

Examples

perch mail caps

perch mail caps --smtp-server smtp.mxraven.email:587

See also