Closed phdoerfler closed 6 years ago
Wow, sorry about that. I have now idea how that ended up in the release. Let met try to fix this right now.
We should definitely try to create a test case that catches that error.
I think the tests got lucky there, since the domain is actually example.com
Is there a way in Nix to create a random string that could be used as domain name?
I don't know, if you find a way feel free to open a PR
postfix logs "host/service mailstore.example.com/12340 not found: Name or service not known" when delivering mail:
In addition to the log message postfix is unable to deliver mail.
See https://github.com/r-raymond/nixos-mailserver/issues/86#issuecomment-367845286 for details.
The offending line instructs postfix to ask the policy server at
mailstore.example.com
at the given port. Or it would if there was any such server at that address. This would normally allow postfix to query dovecot if the mail may be delivered (due to the quota).This line should at least read
localhost
or the fqdn instead of the example URL. I'm no expert with postfix and dovecot but I would suspect one can get this information not just via a network call but perhaps via unix sockets from dovecot.