diff options
author | Ruben Maher <r@rkm.id.au> | 2017-11-14 09:13:29 +1030 |
---|---|---|
committer | Ruben Maher <r@rkm.id.au> | 2017-11-14 09:16:53 +1030 |
commit | f076a0af650ac12bc5fb088d0a4165d5a02b3b6d (patch) | |
tree | 2173aeafbb20b9fd55a877d01075566032b18e48 | |
parent | b7c8c4ec3c635a50ab2ae358f070dd913dcd30e9 (diff) |
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.
-rw-r--r-- | mail-server/postfix.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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 |