{"id":88,"date":"2012-04-18T11:49:19","date_gmt":"2012-04-18T09:49:19","guid":{"rendered":"http:\/\/exchangetimes.wordpress.com\/?p=88"},"modified":"2012-04-18T11:49:19","modified_gmt":"2012-04-18T09:49:19","slug":"how-to-export-the-relay-list-from-an-exchange-2003-server","status":"publish","type":"post","link":"https:\/\/exchangetimes.net\/?p=88","title":{"rendered":"How to export the relay list from an Exchange 2003 server"},"content":{"rendered":"<p>It&#8217;s always a good idea to export your relay list regularly in case of server crash or failures. Yes there&#8217;s other ways to restore this but if you have a txt document then it&#8217;s a lot quicker to import the list to a rebuilt or new server.<\/p>\n<p>In order to do this download IPsec.vbs from <a href=\"http:\/\/www.microsoft.com\/download\/en\/details.aspx?displaylang=en&amp;id=13903\">here<\/a>.<\/p>\n<p>After you have downloaded the package unzip it and then register the exipsec.dll by opening the command prompt and using the syntax &#8220;regsvr32 pathtoexipsecurityexipsec.dll&#8221; and pressing enter.<\/p>\n<p>After registering the dll\u00a0open the command prompt\u00a0again and change to the ExIpSecurity\u00a0folder. Then type &#8220;cscript ipsec.vbs -s (<span style=\"color:#ff0000;\">servername<\/span>) -i (<span style=\"color:#ff0000;\">instance id like 1 or 2 or 3<\/span>) -o\u00a0e\u00a0-d (<span style=\"color:#ff0000;\">domaincontroller name<\/span>) -r relay &gt;c:relaytable.txt<\/p>\n<p>After running the script you should see a text document in c: named relaytable.txt which will contain all the allowed IP&#8217;s in the relay list.<\/p>\n<p>For more information on ipsec.vbs just run cscript ipsec.vbs to get all the switches that are available for you to use. You are also able to import the list to a new server etc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s always a good idea to export your relay list regularly in case of server crash or failures. Yes there&#8217;s other ways to restore this but if you have a txt document then it&#8217;s a lot quicker to import the list to a rebuilt or new server. In order to do this download IPsec.vbs from here. After you have downloaded the package unzip it and then register the exipsec.dll by opening the command prompt and using the syntax &#8220;regsvr32 pathtoexipsecurityexipsec.dll&#8221; and pressing enter. After registering the dll\u00a0open the command prompt\u00a0again and change to the ExIpSecurity\u00a0folder. Then type &#8220;cscript ipsec.vbs -s (servername) -i (instance id like 1 or 2 or 3) -o\u00a0e\u00a0-d (domaincontroller name) -r relay &gt;c:relaytable.txt After running the script you should see a text document in c: named relaytable.txt which will contain all the allowed IP&#8217;s in the relay list. For more information on ipsec.vbs just run cscript ipsec.vbs to get all the switches that are available for you to use. You are also able to import the list to a new server etc.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[61,67,71,85],"class_list":["post-88","post","type-post","status-publish","format-standard","hentry","category-exchange-2003","tag-exchange-2003-relay-export","tag-export-relay-table","tag-exports-relay-list","tag-ipsec-vbs"],"_links":{"self":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=88"}],"version-history":[{"count":0,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions"}],"wp:attachment":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}