I’ve lost control of a domain that has email records associated. As a stopgap to recovering it, I need to manually specify on my mailcow server where email should go for that domain. /etc/hosts
does not work because this is an MX record, not an IP.
It seems possible with postfix configuration.
https://www.postfix.org/transport.5.html
When looking at Mailcow’s config, I see a blank custom_transport.pcre
file. I’ve tried to add this:
mydomain.com smtp:mx.mymail.com
This doesn’t appear to be working though.