From 5153908d15cebefab5bb4fa406956e03d44b3c4c Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 31 Oct 2025 14:29:01 +0100 Subject: [PATCH] feat(services/mail): removing the roundcube webmail client - The webmail client is now disable to privilege the client on computer --- services/self_host/mail.nix | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/services/self_host/mail.nix b/services/self_host/mail.nix index 0cfaa4c..5bad778 100644 --- a/services/self_host/mail.nix +++ b/services/self_host/mail.nix @@ -36,18 +36,6 @@ in "d /var/vmail 0750 vmail vmail - -" ]; - security.acme.certs."mail.enium.eu" = { - group = "nginx"; - reloadServices = [ - "postfix.service" - "dovecot.service" - ]; - }; - users.groups.nginx.members = [ - "postfix" - "dovecot" - ]; - services.postfix = { enable = true; rootAlias = "direction@enium.eu"; @@ -248,11 +236,6 @@ in contact@enium.eu raphael@enium.eu, benjamin@enium.eu ''; - services.nginx.virtualHosts."mail.enium.eu" = { - forceSSL = true; - enableACME = true; - }; - services.rspamd = { enable = true; extraConfig = '' @@ -331,20 +314,5 @@ EOD; enable = true; port = 6381; }; - - services.roundcube = { - enable = true; - hostName = "mail.enium.eu"; - extraConfig = '' - $config['smtp_host'] = "tls://mail.enium.eu"; - $config['smtp_port'] = 587; - $config['smtp_user'] = "%u"; - $config['smtp_pass'] = "%p"; - $config['smtp_auth_type'] = "LOGIN"; - $config['imap_host'] = "ssl://mail.enium.eu"; - $config['default_port'] = 993; - $config['username_domain'] = 'enium.eu'; - ''; - }; }; }