fix mail delivery test domain

This commit is contained in:
Jonas Heinrich 2023-01-02 12:38:10 +01:00
parent b8eb294e92
commit 0ef57a7b8e

View file

@ -46,6 +46,7 @@
mail_smtpmode = "sendmail"; mail_smtpmode = "sendmail";
mail_sendmailmode = "pipe"; mail_sendmailmode = "pipe";
debug = true; debug = true;
logLevel = 0;
trusted_domains = [ "10.100.100.1" ]; trusted_domains = [ "10.100.100.1" ];
}; };
}; };
@ -67,6 +68,7 @@
enable = true; enable = true;
hostname = "localhost"; hostname = "localhost";
primaryDomain = "localhost"; primaryDomain = "localhost";
localDomains = [ "$(primary_domain)" "10.100.100.1" ];
# Disable any sender validation checks # Disable any sender validation checks
config = lib.concatStrings ( config = lib.concatStrings (
builtins.match "(.*)authorize_sender.*identity\n[ ]+\}(.*)" options.services.maddy.config.default builtins.match "(.*)authorize_sender.*identity\n[ ]+\}(.*)" options.services.maddy.config.default