diff options
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -444,7 +444,7 @@ in rec { | |||
444 | smtpd_restriction_classes = spfcheck | 444 | smtpd_restriction_classes = spfcheck |
445 | spfcheck = | 445 | spfcheck = |
446 | check_policy_service unix:private/policy-spf, | 446 | check_policy_service unix:private/policy-spf, |
447 | check_policy_service unix:/var/run/postgrey.sock | 447 | check_policy_service unix:private/policy-greylist |
448 | 448 | ||
449 | smtpd_relay_restrictions = | 449 | smtpd_relay_restrictions = |
450 | permit_mynetworks, | 450 | permit_mynetworks, |
@@ -534,6 +534,10 @@ in rec { | |||
534 | 534 | ||
535 | services.postgrey = { | 535 | services.postgrey = { |
536 | enable = true; | 536 | enable = true; |
537 | socket = { | ||
538 | path = "/var/lib/postfix/queue/private/policy-greylist"; | ||
539 | mode = "0777"; | ||
540 | }; | ||
537 | delay = 60; | 541 | delay = 60; |
538 | autoWhitelist = 1; | 542 | autoWhitelist = 1; |
539 | maxAge = 7; | 543 | maxAge = 7; |