configuring mx record for alternate delivery location

my company used microsoft hosted exchange services (bpos for short)

my mx record is pointing to microsoft

i have an internal server setup to receive mail @companyname.com
the same domain that my microsoft hosted exchange services uses

can i setup a second mx record SO if the user is not found on my hosted exchanged environment, it will try to deliver to the alternate location?

im using an app internally which generates email accounts for receiving messages.  these accounts are never setup in microsoft hosted exhange, so when i email these accounts microsoft sends a NDR that the recipients email address does not exist.

is it possible to correct this with additional mx records?
sknoll84Asked:
Who is Participating?
 
Neil RussellConnect With a Mentor Technical Development LeadCommented:
In exchange you can set a setting entitled....  "Forward all mail with unresolved rcpts to this host"  found in the smtp server settings (depends on exchange version) And then you specify an alternate SMTO server.

Now as to if Microsoft shared hosting supports this I do not know but exchange does. Speak and ask them. THey would just need the IP of your other SMTP Mail server to forward unresolved emails to.

0
 
Neil RussellTechnical Development LeadCommented:
No.
The MX points to any valid Mail server for your domain. If the server on the end of it is valid for your domain and returns a USER NOT KNOWN error to a sending smtp server than that server assumes that it is an authorative answer.
0
 
Neil RussellTechnical Development LeadCommented:
WHat server do you have setup internally? You could set your MX to to your server and then configure it to forward on all unknown mail directly to the server pointed to by your current MX record.
0
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

 
sknoll84Author Commented:
its a third party product, ecm solution which runs its own mail server
this server is externally accessible

are you saying i may possibly be able to have my hosted exchange forward unknown mail to the second mx record?  or does it involve a different process?  i can call microsoft to check, i just want to be clear first

thanks for your help
0
 
thehagmanCommented:
If you have one mx pointing to microsoft and one mx pointing to your server, then all mail will typically be tried to deliver to the "better" one (lower priority value). In case of e.g. connection failure the mx with worse priority should be tried next, but not in case of a permanent error (such as USER NOT KNOWN).
In theory, if you could coerce your server to respond with a different (non-permanent) error message instead, things *might* work out, i.e. senders might try the microsoft server instead. (Note that this woul d not be RFC compliant, so don't do it anyway).
However, in case of congestion etc. that server might be tried anyway even for existing users.
0
 
sknoll84Author Commented:
very good explanation hagman

so it sounds like this simply isnt going to work
0
 
Neil RussellTechnical Development LeadCommented:
Its exactly the same explination as I gave you in the first post with a few extra words thrown in :D
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.