bring back roundcube (with sieve)

This commit is contained in:
cy 2025-04-23 09:56:59 -04:00
parent 17e257a318
commit 9546caaa7c
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
4 changed files with 7 additions and 0 deletions

View file

@ -106,6 +106,7 @@
minio-client
nil
keepassxc
lua-language-server
];
home.sessionVariables = {

View file

@ -187,4 +187,5 @@
enable = false;
dataDir = "/opt/karakeep";
};
my.roundcube.enable = true;
}

View file

@ -30,6 +30,7 @@ let
${remote} ${mount}
'';
ExecStop = "${lib.getExe' pkgs.fuse "fusermount"} -zu ${mount}";
Restart = "on-failure";
};
in
{

View file

@ -31,6 +31,7 @@ in
"contextmenu"
"custom_from"
"thunderbird_labels"
"managesieve"
];
dicts = with pkgs.aspellDicts; [ en ];
extraConfig = ''
@ -38,6 +39,8 @@ in
$config['smtp_host'] = "ssl://smtp.migadu.com:465";
$config['smtp_user'] = "%u";
$config['smtp_pass'] = "%p";
$config['managesieve_host'] = "tls://imap.migadu.com";
$config['managesieve_port'] = 4190;
'';
};
@ -48,6 +51,7 @@ in
services.caddy.virtualHosts."mail.cy7.sh".extraConfig = ''
import common
import authelia
root ${roundcube.package}
php_fastcgi unix/${fpm.socket}
file_server