Mail : Enable Sieve rules.

This commit is contained in:
Dmitry Voronin 2024-08-05 17:23:34 +03:00
parent 63fec8bf13
commit 8fdd9ec931
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -132,7 +132,8 @@ in {
enableSubmission = true; enableSubmission = true;
enableSubmissionSsl = true; enableSubmissionSsl = true;
virusScanning = false; enableManageSieve = true;
virusScanning = false;
certificateScheme = "manual"; certificateScheme = "manual";
keyFile = "/acme/live/${domain}/privkey.pem"; keyFile = "/acme/live/${domain}/privkey.pem";
@ -179,6 +180,9 @@ in {
enable = true; enable = true;
dicts = with pkgs.aspellDicts; [ en ru ]; dicts = with pkgs.aspellDicts; [ en ru ];
hostName = cfg.domain; hostName = cfg.domain;
plugins = [
"managesieve"
];
extraConfig = '' extraConfig = ''
# starttls needed for authentication, so the fqdn required to match # starttls needed for authentication, so the fqdn required to match
# the certificate # the certificate