feat: enable mail transport security policies
This commit is contained in:
parent
f9f75eb4cd
commit
c82a15b415
3 changed files with 27 additions and 3 deletions
|
|
@ -4,8 +4,7 @@
|
|||
services.stalwart = {
|
||||
enable = true;
|
||||
stateVersion = config.system.stateVersion;
|
||||
# Let stalwart open its own ports if needed for the main services
|
||||
openFirewall = true;
|
||||
openFirewall = false;
|
||||
|
||||
settings = {
|
||||
server = {
|
||||
|
|
@ -24,6 +23,11 @@
|
|||
protocol = "smtp";
|
||||
tls.implicit = true;
|
||||
};
|
||||
submission = {
|
||||
bind = "[::]:587";
|
||||
protocol = "smtp";
|
||||
tls.implicit = false;
|
||||
};
|
||||
imaps = {
|
||||
bind = "[::]:993";
|
||||
protocol = "imap";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue