Stalwart: Difference between revisions

Onny (talk | contribs)
Onny (talk | contribs)
Enable administrative web interface
Line 48: Line 48:
   };
   };
};}}
};}}
== Configuration ==
=== Administrative web frontend ===
{{Note|The module is not yet part of the latest NixOS stable release and will be available with version 24.11.}}Add following listener to enable the administrative web frontend.{{file|/etc/nixos/configuration.nix|nix|3=services.stalwart-mail = {
  enable = true;
  settings.server.listener = {
    "management" = {
      bind = [ "[::]:8080" ];
      protocol = "http";
    };
  };
};}}It will be accessible on http://localhost:8080 and authentication is done with the one of the credentials specified above (normal inbox user or administrative role).
Please note that this example snippet is for testing purpose and without further configuration the management web interface will run unencrypted on all interfaces which is unsecure.


== See also ==
== See also ==