Use implicit TLS port for SMTP client connection
This commit is contained in:
parent
6b8a8c73c5
commit
13b86afac1
4 changed files with 10 additions and 10 deletions
|
|
@ -41,7 +41,7 @@ lib.mkIf cfg.enable {
|
|||
|
||||
relayPort = cfg.relayPort;
|
||||
|
||||
enableSubmission = true; # plain/STARTTLS (latter is forced in submissionOptions)
|
||||
enableSubmission = false; # plain/STARTTLS (latter is forced in submissionOptions)
|
||||
enableSubmissions = true; # submission with implicit TLS (TCP/465)
|
||||
|
||||
hostname = cfg.fqdn;
|
||||
|
|
@ -147,7 +147,7 @@ lib.mkIf cfg.enable {
|
|||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
25 # SMTP
|
||||
587 # SMTP submission
|
||||
465 # SMTPS (implicit TLS)
|
||||
];
|
||||
|
||||
systemd.services.postfix = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue