From 7339e02c854e089f6fbb4cc11f0cf9b168a12832 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Thu, 29 Aug 2024 09:02:28 +0200 Subject: [PATCH] feat: roundcube login --- hosts/server/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index a2f915e..7954a47 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -239,6 +239,13 @@ roundcube = { enable = true; hostName = "rc.itepastra.nl"; + extraConfig = '' + # starttls needed for authentication, so the fqdn required to match + # the certificate + $config['smtp_server'] = "tls://mail.itepastra.nl"; + $config['smtp_user'] = "%u"; + $config['smtp_pass'] = "%p"; + ''; }; }; @@ -250,6 +257,7 @@ loginAccounts = { "noa@itepastra.nl" = { hashedPasswordFile = "/etc/passwords/noa@itepastra.nl"; + aliases = [ "@itepastra.nl" ]; }; };