Today we had a situation where we needed to transfer about 900 relay settings from Exchange 5.5 servers to Exchange 2003 servers. We were able to do this by using a script called ipsec.vbs from the exalltools download. This download is available here.
For just ipsec.vbs
http://www.microsoft.com/downloads/details.aspx?familyid=286d2818-08b3-496d-8b0d-c2b628a3ef16&displaylang=en
For exalltools
http://www.microsoft.com/downloads/details.aspx?familyid=e0f616c6-8fa4-4768-a3ed-cc09aef7b60a&displaylang=en