Chapter 15 Unified Threat Management for FortiOS 5.0 : Application control : Application considerations : IM applications
  
IM applications
The Application Control function for a number of IM application is not in the Web Based Manager, in the CLI of the FortiGate unit. These applications are:
AIM
ICQ
MSN
Yahoo
These applications are controlled by either permitting or denying the users from logging in to the service. Individual IM accounts are configured as to whether or not they are permitted and then there is a global policy for how to action unknown users, by the application, and whether to add the user to the black list or the white list.
The configuration details for these settings can be found in the CLI Reference guide under the heading of imp2p.