Mailchain
Search…
Advanced Serve Options
The mailchain application runs with the default settings using the following command:
1
mailchain serve
Copied!
To configure advanced options, run:
1
mailchain serve [flags]
Copied!
Flag
Options
--cors-allowed-origins string
Allowed origins for CORS (default "*")
--cors-disabled
Disable CORS on the server (enabled by default)
--passphrase string
Passphrase to decrypt key for sending / receiving messages. If this is not entered, the application with prompt you to enter the passphrase.
--port int
Port to run server on (default 8080)
Global Flags
Flag
Options
--config string
The location of the config file (default is $HOME/.mailchain/.mailchain.yaml)
--empty-passphrase
No passphrase and no prompt
--log-level string
Set the log level [Panic,Fatal,Error,Warn,Info,Debug] (default "warn")
For more information, run:
1
mailchain serve --help
Copied!
Last modified 2yr ago
Copy link