1 - Redirect outgoing port 1863 to localhost (192.168.0.1:1863)
Take a look at
/etc/e-smith/templates/etc/rc.d/init.d/masq/35transproxy and
/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustTransProxy to see how the transparent proxies for Squid and SMTP are set up and maintained.
35transproxy sets up the iptables rules,
90adjustTransProxy inserts the actual values for your WAN IP, and applies changes if your WAN IP changes (in case you have a dynamic IP)
You will need to do something similar for port 1863.
2 - Block http connections from msn
I don't think you can block http connections
from msn - I think you need to block http connection
to msn. However, if your SME transparent proxy is enabled you'll have to do this with
squidguard or
dansguardian.
Since the instructions you reference for blocking outgoing ports do *not* block any traffic between your LAN clients and your SME server your users would still be able to get to msn on port 80 by way of the SME proxy.
I found this KB at Microsoft listing the URLs you will need to block (either in squidguard or in dansguardian):
http://support.microsoft.com/kb/927847