progress dump
This commit is contained in:
parent
4741aa8a47
commit
a951911578
6 changed files with 68 additions and 46 deletions
|
@ -55,32 +55,25 @@ in {
|
|||
# This is the standard port for SMTP, and is used by mail servers to send email to each other.
|
||||
smtp = {
|
||||
protocol = "smtp";
|
||||
bind = ["localhost::25" "[::]:25"];
|
||||
bind = ["[::]:25"];
|
||||
tls.implicit = true;
|
||||
};
|
||||
|
||||
# SMTP submissions with implicit TLS are received on port 465 by default.
|
||||
# This is the standard port for SMTP submissions with native implicit TLS,
|
||||
# and is used by mail clients to send email to mail servers.
|
||||
|
||||
submissions = {
|
||||
bind = ["localhost:465" "[::]:465"];
|
||||
bind = ["[::]:465"];
|
||||
protocol = "smtp";
|
||||
tls.implicit = true;
|
||||
};
|
||||
imaps = {
|
||||
bind = ["localhost:993" "[::]:993"];
|
||||
bind = ["[::]:993"];
|
||||
protocol = "imap";
|
||||
tls.implicit = true;
|
||||
};
|
||||
jmap = {
|
||||
bind = ["localhost:8080" "[::]:8080"];
|
||||
url = "https://mail.${domain}";
|
||||
protocol = "jmap";
|
||||
tls.implicit = true;
|
||||
};
|
||||
management = {
|
||||
bind = ["localhost:8080"];
|
||||
bind = ["127.0.0.1:8080"];
|
||||
protocol = "http";
|
||||
tls.implicit = true;
|
||||
};
|
||||
|
@ -90,40 +83,40 @@ in {
|
|||
inherit domain;
|
||||
};
|
||||
};
|
||||
storage = {
|
||||
data = "postgresql";
|
||||
blob = "postgresql";
|
||||
fts = "postgresql";
|
||||
lookup = "postgresql";
|
||||
full-text = {
|
||||
default-language = "en";
|
||||
};
|
||||
};
|
||||
store = {
|
||||
postgresql = {
|
||||
# Specifies the database type, set to "postgresql" for PostgreSQL.
|
||||
type = "postgresql";
|
||||
# storage = {
|
||||
# data = "postgresql";
|
||||
# blob = "postgresql";
|
||||
# fts = "postgresql";
|
||||
# lookup = "postgresql";
|
||||
# full-text = {
|
||||
# default-language = "en";
|
||||
# };
|
||||
# };
|
||||
# store = {
|
||||
# postgresql = {
|
||||
# # Specifies the database type, set to "postgresql" for PostgreSQL.
|
||||
# type = "postgresql";
|
||||
|
||||
# The hostname or IP address of the PostgreSQL server.
|
||||
host = "localhost";
|
||||
# # The hostname or IP address of the PostgreSQL server.
|
||||
# host = "localhost";
|
||||
|
||||
# Port PostgreSQL runs on. Defaults to 5432.
|
||||
port = "5432";
|
||||
# # Port PostgreSQL runs on. Defaults to 5432.
|
||||
# port = "5432";
|
||||
|
||||
# Name of the database to connect to.
|
||||
# TODO: add this to PostgreSQL.
|
||||
database = "stalwart";
|
||||
# # Name of the database to connect to.
|
||||
# # TODO: add this to PostgreSQL.
|
||||
# database = "stalwart";
|
||||
|
||||
# The username used for authentication with the PostgreSQL server.
|
||||
# TODO: add this to PostgreSQL.
|
||||
user = "stalwart";
|
||||
# # The username used for authentication with the PostgreSQL server.
|
||||
# # TODO: add this to PostgreSQL.
|
||||
# user = "stalwart";
|
||||
|
||||
password = "";
|
||||
# password = "";
|
||||
|
||||
# Enable TLS
|
||||
tls.enable = true;
|
||||
};
|
||||
};
|
||||
# # Enable TLS
|
||||
# tls.enable = true;
|
||||
# };
|
||||
# };
|
||||
};
|
||||
};
|
||||
services.nginx = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue