Solved

Force Exchange 2007 to send from a specific IP

Posted on 2012-03-23
9
928 Views
Last Modified: 2012-05-14
I have a single 2k8 R2 VPS with Exchange 2007.  The server has two public IPs assigned to it's NIC. One IP has an SSL cert and reverse DNS set up on it for the purpose of Exchange using it.  I thought things were going well until I discovered that it wasn't sending via that IP.

Is there a way I can configure Exchange to send using that IP?
0
Comment
Question by:theamzngq
  • 5
  • 4
9 Comments
 
LVL 6

Expert Comment

by:KalluSureshKumar
ID: 37758036
Set-SendConnector but looks like it is used only on Edge servers. But you may try.

Set-SendConnector <Connector name>  -SourceIPAddress <IP Address>

SourceIPAddress: This parameter specifies the local IP address to use as the endpoint for an SMTP connection to a remote messaging server. The default IP address is 0.0.0.0. This value tells the server to use any available local IP address. This parameter is only valid for Send connectors that are configured on Edge Transport servers.

http://technet.microsoft.com/en-us/library/aa998294(v=exchg.80).aspx

Otherwise try changing the Network binding order.

http://theregime.wordpress.com/2008/03/04/how-to-setview-the-nic-bind-order-in-windows/
0
 
LVL 2

Author Comment

by:theamzngq
ID: 37758070
Thank you, I'll try that.  Do you think that setting this could disrupt my email functionality, and if so, how will I be able to undo it?  Is there a way I can see how the parameter is set before changing it?
0
 
LVL 2

Author Comment

by:theamzngq
ID: 37758133
I went ahead and set the parameter, but it appears to still be using the "other" public IP.  I'll try the binding order next.
0
 
LVL 6

Accepted Solution

by:
KalluSureshKumar earned 500 total points
ID: 37758146
By default IP address is set to 0.0.0.0 . You can also verify default setting by running

Get-Sendconnector <connector name> |fl

and verify what is set for SourceIPAddress.

To revert the settings you can run the same command

Set-SendConnector <connector name > -SourceIPAddress <Default value which you saw from the above command>

But above description clearly says "This parameter is only valid for Send connectors that are configured on Edge Transport servers."

So this is just a trial method on HUB if you dont have Edge.

Otherwise try changing the Binding
0
Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

 
LVL 2

Author Comment

by:theamzngq
ID: 37758149
In looking up the binding link, it appears that that only applies to the NIC, not the IP assigned to the NIC.  Any other ideas?
0
 
LVL 6

Expert Comment

by:KalluSureshKumar
ID: 37758220
You said

I thought things were going well until I discovered that it wasn't sending via that IP.

Is the NIC card for which above statement is assigned on the TOP if yes. please move the other NIC on the top from which you would like to send e-mail from.
0
 
LVL 6

Expert Comment

by:KalluSureshKumar
ID: 37758255
Sorry my above statement is not clear..

I am talking about binding order. Is the NIC for which IP is assigned is on the TOP . If yes, then bring the one you wanted on the TOP and and send e-mail..

You may want to flushdns / restart transport service after you do that
0
 
LVL 2

Author Comment

by:theamzngq
ID: 37758262
There is only one NIC and both IPs are assigned to it.
0
 
LVL 2

Author Closing Comment

by:theamzngq
ID: 37967097
My configuration, being single server, is not eligible for setting the outgoing IP to be used.  If I had a two server config, looks like I could do that.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now