fix local mail delivery via sendmail
This commit is contained in:
parent
6ebe16c87c
commit
b7944429b8
1 changed files with 5 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, config, ... }: {
|
{ pkgs, config, lib, options, ... }: {
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
overlays = [
|
overlays = [
|
||||||
|
|
@ -46,6 +46,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
hostname = "localhost";
|
hostname = "localhost";
|
||||||
primaryDomain = "localhost";
|
primaryDomain = "localhost";
|
||||||
|
# Disable any sender validation checks
|
||||||
|
config = lib.concatStrings (
|
||||||
|
builtins.match "(.*)authorize_sender.*identity\n[ ]+\}(.*)" options.services.maddy.config.default
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
# Configure local mail delivery
|
# Configure local mail delivery
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue