Add basic support for managesieve (+ roundcube support)
Some checks failed
/ dev-shell (push) Successful in 41s
/ rust-packages (push) Successful in 47s
/ check (push) Failing after 58s
/ terraform-providers (push) Successful in 45s
/ systems (push) Successful in 3m56s

This commit is contained in:
Kaare Hoff Skovgaard 2025-07-30 17:25:02 +02:00
parent fabaf54549
commit cc1ab841c2
Signed by: khs
GPG key ID: C7D890804F01E9F0
3 changed files with 13 additions and 0 deletions

View file

@ -22,6 +22,7 @@ in
./dmarc.nix
./dane.nix
./dkim.nix
./managesieve.nix
./mta-sts.nix
./spf.nix
./tls-rpt.nix

View file

@ -0,0 +1,9 @@
{ config, lib, ... }:
let
cfg = config.khscodes.infrastructure.mailserver;
in
{
config = lib.mkIf cfg.enable {
services.dovecot2.protocols = [ "sieve" ];
};
}

View file

@ -74,6 +74,9 @@
$config['oauth_identity_uri'] = 'https://login.kaareskovgaard.net/oauth2/openid/dovecot/userinfo';
$config['oauth_identity_fields'] = ['preferred_username'];
$config['oauth_scope'] = 'email openid profile';
$config['plugins'] = [
'managesieve',
];
'';
};
khscodes.services.nginx = {