Commits

Zhang Huangbin committed 43334e2

Fix typo error.

Comments (0)

Files changed (2)

iRedMail/conf/amavisd

             -a X"${DISTRO_CODENAME}" != X'precise' \
             ]
             export AMAVISD_VERSION='2.7'
+        fi
     fi
     export AMAVISD_BIN='/usr/sbin/amavisd-new'
     export AMAVISD_CONF_DIR='/etc/amavis/conf.d'

iRedMail/functions/amavisd.sh

 
     ECHO_DEBUG "Configure amavisd-new: ${AMAVISD_CONF}."
 
-    perl -pi -e 's#^(chmop.*\$mydomain.*=).*#${1} "$ENV{'HOSTNAME'}";#' ${AMAVISD_CONF_DIR}/05-domain_id
+    perl -pi -e 's#^(chmop.*\$mydomain.*=).*#${1} "$ENV{HOSTNAME}";#' ${AMAVISD_CONF_DIR}/05-domain_id
 
     perl -pi -e 's/^(1;.*)/#{1}/' ${AMAVISD_CONF}