diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-02-04 14:48:11 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-02-06 01:41:27 +0300 |
commit | 52c7e647ab81383c72117800b8cd5cd49bec9030 (patch) | |
tree | 88b9f9abb6e960fe900d9e18cd8b2ad5c33eb3b4 /nixos/modules/services | |
parent | ede8adc441242805b343a75dfefa09a9893e2be1 (diff) | |
download | nixlib-52c7e647ab81383c72117800b8cd5cd49bec9030.tar nixlib-52c7e647ab81383c72117800b8cd5cd49bec9030.tar.gz nixlib-52c7e647ab81383c72117800b8cd5cd49bec9030.tar.bz2 nixlib-52c7e647ab81383c72117800b8cd5cd49bec9030.tar.lz nixlib-52c7e647ab81383c72117800b8cd5cd49bec9030.tar.xz nixlib-52c7e647ab81383c72117800b8cd5cd49bec9030.tar.zst nixlib-52c7e647ab81383c72117800b8cd5cd49bec9030.zip |
postfix service: don't empty local_recipient_maps
From Postfix documentation: With this setting, the Postfix SMTP server will not reject mail with "User unknown in local recipient table". Don't do this on systems that receive mail directly from the Internet. With today's worms and viruses, Postfix will become a backscatter source: it accepts mail for non-existent recipients and then tries to return that mail as "undeliverable" to the often forged sender address.
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/mail/postfix.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix index cdde41446224..caaa87b94d61 100644 --- a/nixos/modules/services/mail/postfix.nix +++ b/nixos/modules/services/mail/postfix.nix @@ -79,8 +79,6 @@ let relay_domains = ${concatStringsSep ", " cfg.relayDomains} '' + '' - local_recipient_maps = - relayhost = ${if cfg.lookupMX || cfg.relayHost == "" then cfg.relayHost else |