
#-----------------------------------------------------------------------
# DESCRIPTION
#-----------------------------------------------------------------------
#
# This module allows Exchange clients (Outlook, Exchange, etc.) to 
# receive new mail notifications from a Microsoft Exchange 5.0 or 5.5
# server. Note that this modules allows all outgoing high udp ports
# to be opened to the client, as the client tells the Exchange server
# which port to use doing initial login.
#
# For more details refer to Microsoft Technet article Q264035.
#	http://www.microsoft.com/technet/support/kb.asp?ID=264035
#
# After installing the module, the user should execute rc.firewall with
# the --update-config parameter. The necessary options will be added to
# the configuration file.
#
#-----------------------------------------------------------------------
# CHANGES
#-----------------------------------------------------------------------
#
# 2001-04-27  Dougal Holmes <dholmes@bigpond.net.au>
#             Initial version
#
#-----------------------------------------------------------------------
# MODULE CONFIGURATION
#-----------------------------------------------------------------------
#
#m# 23
#a# accept
#i# cluster
#n# outlook
#t# servers
#
#   |--------------------------------------------------------------------|
#d# Allows Outlook and Exchange clients to receive new mail notifications
#d# from a Microsoft Exchange 5.0 or 5.5 server. 
#d#
#d# This option is usually only used on cluster interfaces
#   |--------------------------------------------------------------------|
#
#-----------------------------------------------------------------------
# START OF MODULE CODE
#-----------------------------------------------------------------------
#
#-----------------------------------------------------------------------

module_name="outlook"
module_type="servers"
service_name="Microsoft Outlook"

for host in `Option_Value accept $INTOPT $module_name $module_type`
do
	Accept_Hostports remote udp "$service_name" $host $UNPRIVPORTS
done
unset module_name module_type service_name host

