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 minio-client
nil nil
keepassxc keepassxc
lua-language-server
]; ];
home.sessionVariables = { home.sessionVariables = {

View file

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

View file

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

View file

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