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
| Option | Description |
|---|---|
--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-stdin | read 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-plaintext | connect to SMTP without TLS (use only on trusted networks) |
--smtp-starttls | require STARTTLS for SMTP |
--smtp-implicit-tls | use implicit TLS for SMTP (usually port 465) |
--smtp-insecure | skip SMTP TLS certificate verification |
--smtp-ca-file <value> | PEM CA bundle used to verify the SMTP server certificate |
--help, -h | show help |
Examples
perch mail caps
perch mail caps --smtp-server smtp.mxraven.email:587