mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-28 07:56:12 +01:00
factors out postfix and adds valias + vaccounts
This commit is contained in:
parent
a73059e63c
commit
dd7359d9db
1 changed files with 6 additions and 9 deletions
|
@ -48,17 +48,14 @@ in
|
||||||
# define all users
|
# define all users
|
||||||
users.extraUsers = vmail_user ++ mail_user;
|
users.extraUsers = vmail_user ++ mail_user;
|
||||||
|
|
||||||
# postfix
|
|
||||||
services.postfix = {
|
|
||||||
enable = true;
|
|
||||||
networksStyle = "host";
|
|
||||||
};
|
|
||||||
|
|
||||||
# rspamd
|
# rspamd
|
||||||
services.rspamd = {
|
services.rspamd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# dovecot
|
imports = [
|
||||||
imports = [ ./mail-server/dovecot.nix ];
|
./mail-server/dovecot.nix # dovecot
|
||||||
|
./mail-server/postfix.nix # postfix
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue