thrall: Enable roundcube webmail
This commit is contained in:
parent
65908440da
commit
407d1d2ad0
1 changed files with 15 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ in {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
root = "/srv/www/failco.de";
|
root = "/srv/www/failco.de";
|
||||||
serverAliases = [ "www.failco.de" "mail.failco.de" ];
|
serverAliases = [ "www.failco.de" ];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
add_header X-Frame-Options 'SAMEORIGIN';
|
add_header X-Frame-Options 'SAMEORIGIN';
|
||||||
'';
|
'';
|
||||||
|
|
@ -329,6 +329,20 @@ in {
|
||||||
virusScanning = true;
|
virusScanning = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.roundcube = {
|
||||||
|
enable = true;
|
||||||
|
hostName = "mail.failco.de";
|
||||||
|
dicts = with pkgs.aspellDicts; [ en de ];
|
||||||
|
plugins = [ "archive" "attachment_reminder" "managesieve" "markasjunk" ];
|
||||||
|
extraConfig = ''
|
||||||
|
# starttls needed for authentication, so the fqdn required to match
|
||||||
|
# the certificate
|
||||||
|
$config['smtp_server'] = "tls://${config.mailserver.fqdn}";
|
||||||
|
$config['smtp_user'] = "%u";
|
||||||
|
$config['smtp_pass'] = "%p";
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue