Commits

Zhang Huangbin  committed 43334e2

Fix typo error.

  • Participants
  • Parent commits 0fcfe38

Comments (0)

Files changed (2)

File 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'

File 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}