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.
This commit is contained in:
Ruben Maher 2017-11-14 09:13:29 +10:30
parent b7c8c4ec3c
commit f076a0af65

View file

@ -76,6 +76,7 @@ in
extraConfig =
''
# Extra Config
mydestination = localhost
smtpd_banner = ${fqdn} ESMTP NO UCE
disable_vrfy_command = yes