I have two mail-servers: A and B.
The server A is the official MX-handler for domain example.com and is configured to forward the entire @example.com to [email protected]. This part works fine.
However, some times server B also gets e-mail intended for [email protected] and I'd like it to deliver such mail directly to [email protected].
To this end I added the same record to /etc/mail/virtusertable on server B as I have on server A:
@example.com [email protected]
I rebuilt the databases and restarted sendmail on B, but I still see it hand off the e-mail for example.com to A -- instead of delivering it directly to Yahoo.
It is as if MX-record trumps over the virtusertable -- how do I reverse this and save one hop?