set-receiveconnector exchange 2007
I need to add around 1000 IP on the receive connector white list. i use the command set-receiveconnector -remoteiprange but it always need the format not correct. Anyideas? "192.168.1.1,192.168.2.2" Thanks
May 5th, 2011 2:23am

Hi, Did you tried this? You are missing the Receive Connector name. Fill it for 'connector name' Set-ReceiveConnector 'connector name' -RemoteIPRanges ("192.168.1.1-192.168.2.2")Regards from www.windowsadmin.info
Free Windows Admin Tool Kit Click here and download it now
May 5th, 2011 2:49am

No, I need to enter mulitple IPrange to there, from the technet, it said use "," to enter multiple IP Range, for Exchange, set Set-ReceiveConnector 'connector name' -RemoteIPRanges "192.168.1.1-192.168.1.3, 202.111.111.123" but it said the IPrange value is not the form "microsoft Exchange Data IP range"
May 5th, 2011 3:26am

Hi, This link is interesting: http://technet.microsoft.com/en-us/library/bb123554(EXCHG.80).aspxRegards from www.windowsadmin.info
Free Windows Admin Tool Kit Click here and download it now
May 5th, 2011 6:22am

On Thu, 5 May 2011 07:20:21 +0000, Kenneth Yeung wrote: > > >No, I need to enter mulitple IPrange to there, from the technet, it said use "," to enter multiple IP Range, > >for Exchange, set Set-ReceiveConnector 'connector name' -RemoteIPRanges "192.168.1.1-192.168.1.3, 202.111.111.123" > >but it said the IPrange value is not the form "microsoft Exchange Data IP range" So what you're trying to do is to allow only certain IP addresses to connect to this receive connector? That's not the same as adding IP addresses to a "white list". The two are not the same. Also, the individual items in the list may need to be protected strings, but the input is really either a single value or a lit of values (each of which is separated by a comma). So "1-2,3,4" isn't the same as "1-2",3,4. So what are you trying to accomplish? Are you attempting to restrict access to the receive connector, or are you trying to supply a set of IP addresses that will bypass any spam filtering? If you have lots of addresses to add to the remoteipranges on a receive connector you could do something like this (there's no error checking in this little bit of code): $rc = get-receiveconnector <name> get-content <fileofipranges> | foreach { $rc.remoteipranges.add($_) } $rc | set-receiveconnector --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
May 5th, 2011 11:44am

No, I need to enter mulitple IPrange to there, from the technet, it said use "," to enter multiple IP Range, for Exchange, set Set-ReceiveConnector 'connector name' -RemoteIPRanges "192.168.1.1-192.168.1.3, 202.111.111.123" but it said the IPrange value is not the form "microsoft Exchange Data IP range" Hi Kenneth, Please run the Set-ReceiveConnector 'connector name' -RemoteIPRanges "192.168.1.1-192.168.1.3", "202.111.111.123" Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
May 9th, 2011 2:05am

Hi Kenneth, Any updates?Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
May 10th, 2011 9:20pm

Eventually I used Rich's method. and it worked
Free Windows Admin Tool Kit Click here and download it now
June 25th, 2011 6:40am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics