Created
March 4, 2022 17:55
-
-
Save VictorKoenders/0d503d22b5ff21654ad136e61dff8a7b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # The database url to connect to | |
| # To create a new database, run `./migrations/migrate.sh` | |
| database = "postgres://localhost/mail" | |
| ## Set this to a valid value to receive command line debug info | |
| ## Leave empty for no debugging | |
| ## Valid values: "error", "warn", "info", "debug", "trace" | |
| ## | |
| ## smpt_to_postgress currently outputs these 2 channels: | |
| ## "info": information about: | |
| ## - what ports the program is running on | |
| ## - incoming connections | |
| ## - database queries | |
| ## "warn": Failed to accept incoming connections, and shutting down | |
| ## "error": Fatal database error | |
| # debug_level = "" | |
| ## Max file size in bytes. Defaults to 10MB. | |
| # max_file_size = 10485760 # in bytes | |
| ## Global SSL files. If these are present, all hosts will use this cert | |
| # cert = "keys/server.cert" | |
| # key = "keys/server.key" | |
| ## Add an entry for each host you want to listen on | |
| [[host]] | |
| host = "0.0.0.0" | |
| port = 25 | |
| ## Path to the SSL files. If any of these values are missing, the service will not use TLS | |
| # cert = "keys/server.cert" | |
| # key = "keys/server.key" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment