feat(sgx/mail): configure postfix root and admin aliases
Added configuration for postfix rootAlias and extraAliases using metacfg user name. This ensures proper email routing for root and admin users.
This commit is contained in:
parent
018b25ac12
commit
ab30ca1c6d
|
@ -1,8 +1,10 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
mailutils
|
mailutils
|
||||||
mutt
|
mutt
|
||||||
];
|
];
|
||||||
services.postfix.enable = true;
|
services.postfix.enable = true;
|
||||||
|
services.postfix.rootAlias = config.metacfg.user.name;
|
||||||
|
services.postfix.extraAliases = "admin: root";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue