From f076a0af650ac12bc5fb088d0a4165d5a02b3b6d Mon Sep 17 00:00:00 2001 From: Ruben Maher Date: Tue, 14 Nov 2017 09:13:29 +1030 Subject: mail-server/postfix.nix: set mydestination to localhost In the event that your `cfg.fqdn` is the same as a domain in `cfg.domains`, you will not be able to receive mail for users like `user1@fqdn` because postfix will try to deliver the mail locally. --- mail-server/postfix.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/mail-server/postfix.nix b/mail-server/postfix.nix index 4b1cf45..a2ec9ef 100644 --- a/mail-server/postfix.nix +++ b/mail-server/postfix.nix @@ -76,6 +76,7 @@ in extraConfig = '' # Extra Config + mydestination = localhost smtpd_banner = ${fqdn} ESMTP NO UCE disable_vrfy_command = yes -- cgit v1.2.3