Dovecot: Difference between revisions

Tie-ling (talk | contribs)
Tie-ling (talk | contribs)
fix formatting
Line 3: Line 3:
authenticated IMAP.
authenticated IMAP.


This article describes a basic Dovecot setup with Postfix and virtual
This article describes a basic Dovecot setup with [Postfix] and virtual
users, i.e., e-mail users are configured separately in Dovecot passdb,
users, i.e., e-mail users are configured separately in Dovecot passdb,
and are independent from system users.
and are independent from system users.
Line 115: Line 115:


= Connect to postfix via lmtp =
= Connect to postfix via lmtp =
See [Postfix] for further setup on postfix side.
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
   services.dovecot2 = {
   services.dovecot2 = {
Line 171: Line 173:
</syntaxhighlight>
</syntaxhighlight>


== mail_crypt plugin (encryption at rest) ==
= mail_crypt plugin (encryption at rest) =


The following seems to make mail_crypt work in its per-user/per-folder mode (note that this mode is still described as 'not production quality' in the dovecot docs):
The following seems to make mail_crypt work in its per-user/per-folder mode (note that this mode is still described as 'not production quality' in the dovecot docs):
Line 199: Line 201:
   '';
   '';
};  
};  
 
</pre>
= Troubleshooting =
= Troubleshooting =
== sievec fails to compile basic sieve scripts ==
== sievec fails to compile basic sieve scripts ==