Displaying 2 results from an estimated 2 matches for "how_to_reach_the_mx".
2018 Sep 11
5
How to send mail to mailbox with disabled domain?
Given the following:
mailboxes:
user1 at example1.com
user2 at example1.com
user3 at example1.com
etc.
aliases:
whatever at example1.com -> user1 at example1.com
whatever at example2.com -> user1 at example1.com
whatever at example3.com -> user1 at example1.com
Now the problem:
example1.com MX goes elsewhere (doesn't point to this server anymore).
Domains example2.com and
2018 Sep 12
0
How to send mail to mailbox with disabled domain?
...here. And the config to make *dovecot* work as needed would need to
pick up from there.
If we're talking postfix, my first idea would be to make example1.com a
virtual alias domain and set up a transport table with entries
user1 at example1.com local:
# ... etc. etc. ...
example1.com smtp:$HOW_TO_REACH_THE_MX
(with $HOW_TO_REACH_THE_MX being anything from "use the official MX from
DNS" to "contact this internal IP on this port, *without* DNS lookups",
whichever your (internal?) networking necessitates).
http://www.postfix.org/transport.5.html
With a bit of luck, that might already...