Enable SMTP entrypoint... spooky.
This commit is contained in:
parent
8c6571727b
commit
6f536f306f
2 changed files with 9 additions and 10 deletions
|
|
@ -61,7 +61,6 @@ in {
|
||||||
"stalwart/cloudflare-username".mode = "0777";
|
"stalwart/cloudflare-username".mode = "0777";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
# z = create/modify file or directory, set mode and owner
|
# z = create/modify file or directory, set mode and owner
|
||||||
"z /etc/stalwart 0555 root root - -"
|
"z /etc/stalwart 0555 root root - -"
|
||||||
|
|
|
||||||
|
|
@ -267,10 +267,10 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
# Mail entrypoints: plain SMTP, implicit SMTPS (465) and IMAPS (993)
|
# Mail entrypoints: plain SMTP, implicit SMTPS (465) and IMAPS (993)
|
||||||
#smtp = {
|
smtp = {
|
||||||
# # plain SMTP (port 25) - TCP passthrough to backend
|
# plain SMTP (port 25) - TCP passthrough to backend
|
||||||
# address = "[::]:25";
|
address = "[::]:25";
|
||||||
# };
|
};
|
||||||
smtps = {
|
smtps = {
|
||||||
# implicit TLS SMTP (port 465) - passthrough to backend
|
# implicit TLS SMTP (port 465) - passthrough to backend
|
||||||
address = "[::]:465";
|
address = "[::]:465";
|
||||||
|
|
@ -516,9 +516,9 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
# Mail TCP services
|
# Mail TCP services
|
||||||
# mail-smtp.loadBalancer = {
|
mail-smtp.loadBalancer = {
|
||||||
# servers = [ { address = "10.1.1.15:25"; } ];
|
servers = [{address = "10.1.1.15:25";}];
|
||||||
# };
|
};
|
||||||
|
|
||||||
mail-smtps.loadBalancer = {
|
mail-smtps.loadBalancer = {
|
||||||
servers = [{address = "10.1.1.15:465";}];
|
servers = [{address = "10.1.1.15:465";}];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue