default.nix: add options to open ports 993 (IMAPS) and 995 (POP3S)
Dovecot is already configured to serve IMAPS on port 993 and POP3S on port 995.
This commit is contained in:
parent
a12c42bdfb
commit
5047c2982f
2 changed files with 23 additions and 6 deletions
|
@ -25,7 +25,9 @@ in
|
|||
networking.firewall = {
|
||||
allowedTCPPorts = [ 25 587 ]
|
||||
++ (if enableImap then [ 143 ] else [])
|
||||
++ (if enablePop3 then [ 110 ] else []);
|
||||
++ (if enableImapSsl then [ 993 ] else [])
|
||||
++ (if enablePop3 then [ 110 ] else [])
|
||||
++ (if enablePop3Ssl then [ 995 ] else []);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue