[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 432
  • Last Modified:

Forward / copy all emails to a test server

I would like Exchange to copy/forward all incoming emails to a test email server which is on our network. I am testing a second email system running on Linux and would like this test server to receive the same emails that the Exchange server is receiving, whether it's comming from local Exchange users or from the Internet. Regular users still get their emails from the Exchange server. Sending from the test server is not required - I just need to populate the test server with the incoming mail.

How can I configure this in Exchange ?
Thanks
0
ndidomenico
Asked:
ndidomenico
  • 3
  • 3
  • 3
  • +1
1 Solution
 
MesthaCommented:
The only way would be to forward emails on a mailbox by mailbox basis. You would need to setup a contact for the other server and have a way of getting the email to that other server - so that could be a dummy domain and an SMTP Connector with the dummy domain listed and the other server set in that connector as a smart host.

Simon.
0
 
HousammuhannaCommented:
another way that may take some more work
Make a Jornalling Email address for the Mailbox Store and set the Address for a single user like Audit@domain.com
in this user make a new Contact that forward all the emails for that user to the new server like the contact Name is Audio@newserver.com
what about the new server
in your DNS Server Create a New A and MX record for your new Server
I think that will help
 
 
0
 
abhaighCommented:
Yeah - it would be messy and require the creation of mailboxes on the linux server with corresponding contacts in AD - those contacts configured as forwards for each existing mailboxes to your test system
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
ndidomenicoAuthor Commented:
Geee... I thought it was going to be an easy solution, something like setting up an Smtp connector with appropriate relaying rules. Ok. Plan B then.

I'm not sure I'm following you on the Journaling email address creation. Where do you create this type of email address?

A few clarifications:
1) The test email server has to manage the same domain name and email addresses as the Exchange server. If I use the forward feature of Exchange in the Delivery options of each user, how do I specify an email address that Exchange will be able to send across to the test server ?

2) The test email server does not have any A or MX record that is somehow linked to it by the firewall (port forwarding, etc). Everything goes to the Exchange server.

0
 
MesthaCommented:
If you use a dummy domain then you can get Exchange to deliver email wherever you like. You create contact/s with email address/es in that dummy domain then you can put them on to the accounts.
An SMTP connector will route email to your second server without the need for DNS records.

Simon.
0
 
abhaighCommented:
It's possible, but not easy

I would do it like this

share the namespace out according to

http://support.microsoft.com/kb/321721
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_23185658.html
http://www.msexchange.org/tutorials/Exchange-2003-SMTP-Namespace-Sharing.html

create copies of each mailbox in Exchange on your linux box
create an internal smtp namespace just for the linux box
associate these smtp addresses with the mailboxes on the linux box
create two connectors on exchange that pointing to the linux box
   one for the default namespace
   one for the internal namespace
create contacts for all the internal smtp addresses in AD
configure all the mailboxes in AD to forward to these contacts (which sends a copy to the linux machine)

this will accomplish what you want, you will have a linux machine running a replica of your exchange system
0
 
ndidomenicoAuthor Commented:
Thanks for the responses. Give me some time to go through these links and test a few things.

Simon: How do I configure the smtp connector on Exchange to route mail to the other server ? (send to ip address, host name ?) Assume the following:
- Exchange server name: sbs01
- Exchange server IP address: 192.168.1.3
- Email Domain name: mydomain.com
- Linux server name: linux01
- Linux server IP address: 192.168.1.5
- Linux Dummy domain name: mydomain-d.com.
0
 
MesthaCommented:
SMTP Connector configuration:
http://www.amset.info/exchange/smtp-connector.asp

Although instead of setting aol.com, set it to your dummy domain.
Set the smart host in [] if using an IP address - [192.168.1.5]

Simon.
0
 
abhaighCommented:
you would set the linux box up as smarthost on the connector for the internal smtp domain

and configure the default connector to send all emails that can't be delivered locally to the linux box as well
0
 
ndidomenicoAuthor Commented:
Thanks for the solution. The dummy domain and contacts in AD worked like you said.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 3
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now