Add autodiscovery to the mailserver

This commit is contained in:
Jimbo 2025-03-03 03:41:49 -05:00
parent 4a18eccddd
commit f428198857
4 changed files with 39 additions and 7 deletions

View file

@ -1,12 +1,12 @@
{ config, ... }:
{
services.roundcube = {
enable = config.system.mailserver.enable;
hostName = "mail.nixfox.ca";
extraConfig = ''
$config['smtp_server'] = "tls://mx.nixfox.ca";
$config['smtp_user'] = "%u";
$config['smtp_pass'] = "%p";
'';
enable = config.system.mailserver.enable;
hostName = "mail.nixfox.ca";
extraConfig = ''
$config['smtp_server'] = "tls://mx.nixfox.ca";
$config['smtp_user'] = "%u";
$config['smtp_pass'] = "%p";
'';
};
}