Blocking Yahoo! IM from the LAN

Configure your internal DNS to return for and

Add the DNS names and in the Web proxy server black list.

To make it more effective:

We recommended to allow only known HTTPS web sites from your LAN through the Web proxy server. This can be done by entering "**s" (without quotes) in the web proxy server black list and then add the known "https" sites to the white list.