Exchange 2003 Export SMTP Relay List

Hallo zusammen,

Kürzlich musste ich auf einem Exchange Server 2003 eine grosse Anzahl von Relay Einträgen exportieren.

Relay Einstellungen in Exchange System Manager

Im Exchange System Manager gibt es aber keine Option zum exportieren.

Gespeichert in Active Directory

Diese Relay Einträge sind in der Active Direcory Configuration Partition gespeichert und zwar im Attribut "msExchSmtpRelayIpList"

Domain.tld/Configuration/Services/Microsoft Exchange/First Organization/Administrative Groups/First Administrative Group/Servers/SERVERNAME/Protocols/SMTP/1

Wenn man das Attribut Dezimal darstellen lässt, so erkennt man die IP's und den Domain Name (welcher im ASCII codiert ist).

172 010 010 001
172 021 175 010 255 255 255 000
010 001 001 001
116 101 115 116 046 101 120 097 109 112 108 101 046 099 111 109 000
T   E   S   T   .   E   X   A   M   P   L   E   .   C   O   M

ExIpSecurity Tool

Mit dem ExIPSecurity Tool kann man die Einträge mittels eines VBS Scripts exportieren.

How to use the IPsec.vbs program to export an SMTP relay list from a computer that is running Exchange Server 2003
http://support.microsoft.com/kb/935635/en-us

Microsoft Exchange Server SMTP Internet Protocol Restriction and Accept/Deny List Configuration
http://www.microsoft.com/en-us/download/details.aspx?id=13903

Nun muss man die DLL im System Registrieren

regsrv32 exipsec.dll

Nun kann die Liste exportiert werden

cscript Ipsec.vbs -d Source01 -o e -r relay

Grüsse
Andres Bohren