Fix a bug with var name, and remove _ (uniformization)

This commit is contained in:
Gregory Colpart 2011-06-03 11:53:51 +02:00
parent 053f3d9c4e
commit 1a17daeba4
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ SSHOK='0.0.0.0/0'
SMTPOK='0.0.0.0/0'
# SMTP secure (port 465 et 587)
SMTPSOK=''
SMTPSECUREOK=''
# NTP
NTPOK='ntp.evolix.net'

View File

@ -271,7 +271,7 @@ for x in $SMTPOK
done
# SMTP secure
for x in $SMTP_SECURE_OK
for x in $SMTPSECUREOK
do
$IPT -A INPUT -p tcp ! --syn --sport 465 --dport $PORTSUSER -j ACCEPT
$IPT -A INPUT -p tcp ! --syn --sport 587 --dport $PORTSUSER -j ACCEPT