stalwart: fix localhost ips, fix postgresql
This commit is contained in:
parent
35f32fe673
commit
4e4795cc88
1 changed files with 6 additions and 13 deletions
|
@ -55,17 +55,17 @@ in {
|
|||
# and is used by mail clients to send email to mail servers.
|
||||
|
||||
submissions = {
|
||||
bind = ["localhost::465" "[::]:465"];
|
||||
bind = ["localhost:465" "[::]:465"];
|
||||
protocol = "smtp";
|
||||
tls.implicit = true;
|
||||
};
|
||||
imaps = {
|
||||
bind = ["localhost::993" "[::]:993"];
|
||||
bind = ["localhost:993" "[::]:993"];
|
||||
protocol = "imap";
|
||||
tls.implicit = true;
|
||||
};
|
||||
jmap = {
|
||||
bind = ["localhost::8080" "[::]:8080"];
|
||||
bind = ["localhost:8080" "[::]:8080"];
|
||||
url = "https://mail.${domain}";
|
||||
protocol = "jmap";
|
||||
tls.implicit = true;
|
||||
|
@ -91,7 +91,7 @@ in {
|
|||
};
|
||||
};
|
||||
store = {
|
||||
postgresql = {
|
||||
"postgresql" = {
|
||||
# Specifies the database type, set to "postgresql" for PostgreSQL.
|
||||
type = "postgresql";
|
||||
|
||||
|
@ -102,17 +102,10 @@ in {
|
|||
port = "5432";
|
||||
|
||||
# Name of the database to connect to.
|
||||
# TODO: add this to PostgreSQL.
|
||||
name = "stalwart";
|
||||
database = "stalwart";
|
||||
|
||||
# The username used for authentication with the PostgreSQL server.
|
||||
# TODO: add this to PostgreSQL.
|
||||
username = "stalwart";
|
||||
|
||||
# Compression algorithm to use.
|
||||
compression = "lz4";
|
||||
# Clean up every day at 5:30am local time.
|
||||
purge.frequency = "30 5 *";
|
||||
user = "stalwart";
|
||||
|
||||
# Enable TLS
|
||||
tls.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue