I don't believe that info is stored in Active Directory, I'm no exchange guru so please let me know if thats not true. It can be accessed from the IIS metabase, that info is stored in the RelayIPList key under the default SMTP instance. You can use Metabase Explorer to view it, but it's binary data. The part I'm not sure of is converting it to the format it likes, I'm sure there is an API call out there someone knows that can do it.
-Brandon
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sem 3
Sent: Tuesday, November 15, 2005 9:03 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] Adding IP's to relay restrictions
I believe it is configured in the registry on the Exchange server. See http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q193922&ID=KB;EN-US;Q193922
Mike Thommes
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Sem 3
Sent: Tuesday, November 15, 2005 7:27 AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] Adding IP's to relay restrictions
I need to scriptomaticaly or on batch add ip addresses to the Relay Restrictions list on an Exchange 2003 SMTP virtual server.
I know these values are stored in AD but cant seem to find them. Any pointers scripts or tips would be really appreciated.
Thanks all…..