Skip to content

Instantly share code, notes, and snippets.

@fpletz
Created January 30, 2018 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fpletz/5536a3136ae17a3951642ee0c5361f72 to your computer and use it in GitHub Desktop.
Save fpletz/5536a3136ae17a3951642ee0c5361f72 to your computer and use it in GitHub Desktop.
dovecot sieve
{
services.dovecot2 = {
modules = with pkgs; [ dovecot_pigeonhole ];
extraConfig = ''
protocol lmtp {
mail_plugins = $mail_plugins sieve
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
}
plugin {
sieve = file:~/sieve;active=~/.dovecot.sieve
}
'';
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment