enable submission on port 587
This commit is contained in:
parent
a9b8875563
commit
666e6b4425
|
@ -27,12 +27,13 @@ in
|
||||||
sops.secrets."rspamd-password".owner = config.users.users.rspamd.name;
|
sops.secrets."rspamd-password".owner = config.users.users.rspamd.name;
|
||||||
sops.secrets."dovecot_ldap_search".owner = config.services.dovecot2.user;
|
sops.secrets."dovecot_ldap_search".owner = config.services.dovecot2.user;
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 25 465 993 ];
|
networking.firewall.allowedTCPPorts = [ 25 465 587 993 ];
|
||||||
users.users.postfix.extraGroups = [ "opendkim" ];
|
users.users.postfix.extraGroups = [ "opendkim" ];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
postfix = {
|
postfix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableSubmission = true;
|
||||||
enableSubmissions = true;
|
enableSubmissions = true;
|
||||||
hostname = "${hostname}";
|
hostname = "${hostname}";
|
||||||
domain = "${domain}";
|
domain = "${domain}";
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
enablePostfix = true;
|
enablePostfix = true;
|
||||||
siteOwner = "mailman@${config.fsr.domain}";
|
siteOwner = "mailman@${config.fsr.domain}";
|
||||||
settings = {
|
settings = {
|
||||||
mta.smtp_secure_mode = "SecureMode.SMTPS";
|
mta.smtp_secure_mode = "SecureMode.STARTTLS";
|
||||||
};
|
};
|
||||||
ldap = {
|
ldap = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue