Dovecot: Difference between revisions

Tie-ling (talk | contribs)
m add link to acme
m fix closing tag
 
(3 intermediate revisions by 2 users not shown)
Line 79: Line 79:
         args = ${config.age.secrets.dovecot.path}
         args = ${config.age.secrets.dovecot.path}
       }
       }
    ''
   };
   };
</syntaxhighlight>
</syntaxhighlight>
Line 171: Line 172:
     sslCACert = "${sslCertDir}/chain.pem";
     sslCACert = "${sslCertDir}/chain.pem";
   };
   };
</syntaxhighlight>
You also need to set proper file permissions on the cert directory and key files.
See [[ACME#Integration_with_service_modules]].
= Using sieve plugins =
The following is required to use Sieve plugins (<code>imap_sieve</code>, ManageSieve, etc):
<syntaxhighlight lang="nix">
environment.systemPackages = with pkgs; [
  dovecot_pigeonhole
];
</syntaxhighlight>
</syntaxhighlight>