Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server ServerConfig WebPort *string }
Config is the configuration structure used to set up dovel server and web interface. This should be a JSON file located in $HOME/.dovel-config.json Server field configures the server, and WebPort is an optional field used to specify the HTTP server port for the web interface, if present the HTTP web server is started.
type InboxConfig ¶
type ServerConfig ¶ added in v0.4.0
type ServerConfig struct { Address string Domain string Inboxes []InboxConfig }
ServerConfig is used to configure your email server. Address is used to specify which address the server should listen to connections, a typicall value is :2525. Domain is what the server should respond in a HELO or EHLO request. Inboxes are the accounts available is this server, i.e. the accepted domains on emails: "example@example.domain". Each domain is handled separetly, so you can receive email for multiple domains. Lastly DKIM fields should be the path to the keys, they are optional.