
#-----------------------------------------------------------------------
# CHANGES
#-----------------------------------------------------------------------
#
# 2001-02-07  Jean-Sebastien Morisset <jsmoriss@mvlan.net>
#             Modified the deny/ignore rule for clusters.
# 2000-10-28  Jean-Sebastien Morisset <jsmoriss@mvlan.net>
#             Initial module written for v5.1.
#
#-----------------------------------------------------------------------
# MODULE CONFIGURATION
#-----------------------------------------------------------------------
#
#m# 3
#a# accept ignore deny
#i# cluster
#n# smtp
#t# servers
#
#   |--------------------------------------------------------------------|
#d# Allow local mail servers (LAN, Firewall, or DMZ) to communicate with
#d# remote SMTP servers on port 25.
#   |--------------------------------------------------------------------|
#
#-----------------------------------------------------------------------
# START OF MODULE CODE
#-----------------------------------------------------------------------

for action in ignore deny accept
do
	for host in `Option_Value $action $INTOPT smtp servers`
	do
		Hostports $action remote tcp "SMTP" $host smtp
	done
done
unset action host

