My intention was to send emails to a single domain with any other email
traffic being disabled.
In order to achieve this I considered smart host, dnsmasq and even bind9.
The 3-liner solution that I've found seems the simplest, least intrusive
and appears to be working fine.
On 16/07/2024 01:33, Max Nikulin wrote:
I assume that you are not trying to achieve "smart host" configuration
for sending mail.
Perhaps you can run a dedicated dnsmasq instance with no upstream DNS
servers. Option that might help: --dns-rr, --mx-host, --mx-target.