- I want to forward
localhost:25
toour.isps.mail.server:25
. - I don't want to set up a relay because I don't need complex rules or local queues of mail.
- I want dev applications to talk to localhost as if it were the smtp sever as that's what our live apps do.
- I need to restrict access to the forward to only localhost so that it is not open to the 'net, nor any other device on our LAN.
- It needs to be a service so it runs all the time and starts at boot.
- I know about routing and remote access but I don't want to use that because it asks me to disable the firewall.
This is hardly an ideal thing to do. Consider setting up your Dev machine the same way your production server is setup.
One way to do what you are asking for: On the localhost Server2003 box, setup an smtp server in IIS6 and use a "Smart host". It's in the "Advanced" settings on the "Delivery" tab of the SMTP server's properties. Set that to the name of the desired destination mail server. Then deliberately open the firewall settings and don't allow incoming smtp traffic.
Another way thanks to @Stephen-Thompson is to use netcat for nt: NetCat