Wildcard in MXCache.dat would be very useful.
We would like to send everything but one domain to a smarthost. If we set the MXCache we can not use the smarthost anymore.
Thus we have either to send everything directly out.
We would prefer to state which domains are special and all the rest to the smarthost.
Hello,
Thank you for sharing your idea to allow wildcards in the MXCache.dat file. While wildcards are not supported in the MXCache.dat file, the desired behavior can be achieved by configuring a Gateway for the domain that you don’t want sent to the smart host. For example, if you want mail for test.com to be sent according to the DNS records for test.com then create a new gateway for test.com. On the Gateway Forwarding dialog check the box for Forward mail to this domain and enter test.com in the field. Then configure MDaemon to send all outbound mail to a smart host. If you’d like additional assistance setting this up, please contact our support team. All of our support options can be found at http://www.altn.com/support.
Thanks,
Arron
-
Anonymous commented
Can you actually use wildcards for subdomains with either approach? (Like you would with Postfix's transport table for example)
-
Yes, you are correct. There are some additional options that should be considered when setting this up.
-
Anonymous commented
Thanks. In fact, support previously didn't let us know about that "workaround".
However, you need to be careful when you do it that way. It seems that you at least need to disable authentication for that gateway, otherwise incoming connections from outside from that specific domain will require authentication.