mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +00:00
Fix mail server maybe???
This commit is contained in:
parent
8fe7a4fe35
commit
ac97d67241
2 changed files with 20 additions and 5 deletions
|
@ -37,22 +37,37 @@ in serverSystemConfiguration {
|
|||
services.kresd.listenPlain = lib.mkForce [ "[::]:53" "0.0.0.0:53" ];
|
||||
services.redis.servers.rspamd.bind = "0.0.0.0";
|
||||
|
||||
services.dovecot2.sieve = {
|
||||
extensions = [ "fileinto" ];
|
||||
globalExtensions = [ "+vnd.dovecot.pipe" "+vnd.dovecot.environment" ];
|
||||
plugins = [ "sieve_imapsieve" "sieve_extprograms" ];
|
||||
};
|
||||
|
||||
mailserver = enabled {
|
||||
inherit fqdn;
|
||||
|
||||
domains = [ domain ];
|
||||
|
||||
domains = [ domain ];
|
||||
certificateScheme = "acme";
|
||||
|
||||
hierarchySeparator = "/";
|
||||
useFsLayout = true;
|
||||
|
||||
mailDirectory = "/var/lib/mail";
|
||||
sieveDirectory = "/var/lib/sieve";
|
||||
|
||||
vmailUserName = "mail";
|
||||
vmailGroupName = "mail";
|
||||
|
||||
dmarcReporting = enabled {
|
||||
inherit domain;
|
||||
|
||||
organizationName = "Doofemshmirtz Evil Inc.";
|
||||
};
|
||||
|
||||
fullTextSearch = enabled {
|
||||
indexAttachments = true;
|
||||
};
|
||||
|
||||
loginAccounts."contact@${domain}" = {
|
||||
aliases = [ "@${domain}" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue