Add basic support for managesieve (+ roundcube support)
This commit is contained in:
parent
fabaf54549
commit
cc1ab841c2
3 changed files with 13 additions and 0 deletions
|
@ -22,6 +22,7 @@ in
|
|||
./dmarc.nix
|
||||
./dane.nix
|
||||
./dkim.nix
|
||||
./managesieve.nix
|
||||
./mta-sts.nix
|
||||
./spf.nix
|
||||
./tls-rpt.nix
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.khscodes.infrastructure.mailserver;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.dovecot2.protocols = [ "sieve" ];
|
||||
};
|
||||
}
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue