1. Zhang Huangbin
  2. iredmail

Commits

Zhang Huangbin  committed 74aee26

Fixed: empty value of AMAVISD_VIRUSMAILS_DIR on RHEL/CENTOS/Scientific Linux 6.
Thanks kislik <kislik _at_ centrum.cz> for the report.

  • Participants
  • Parent commits a6492b0
  • Branches default

Comments (0)

Files changed (1)

File iRedMail/conf/amavisd

View file
  • Ignore whitespace
 export AMAVISD_DKIM_DIR='/var/lib/dkim'
 export AMAVISD_RC_SCRIPT_NAME='amavisd'
 
+export AMAVISD_VIRUSMAILS_DIR='/var/virusmails'
+
 # Database used to store incoming & outgoing email related information.
 export AMAVISD_DB_NAME='amavisd'
 export AMAVISD_DB_USER='amavisd'
 
     if [ X"${DISTRO_VERSION}" == X"5" ]; then
         export AMAVISD_CONF='/etc/amavisd.conf'
-        export AMAVISD_VIRUSMAILS_DIR='/var/virusmails'
     elif [ X"${DISTRO_VERSION}" == X"6" ]; then
         export AMAVISD_CONF='/etc/amavisd/amavisd.conf'
     fi
     export AMAVISD_LDAP_SCHEMA_NAME='amavisd-new.schema'
 
     export AMAVISD_CONF='/etc/amavisd.conf'
-    export AMAVISD_VIRUSMAILS_DIR='/var/virusmails'
 
     export AMAVISD_DKIM_CONF="${AMAVISD_CONF}"
     export AMAVISD_MYHOME='/var/amavis'
     export AMAVISD_CONF='/usr/local/etc/amavisd.conf'
     export AMAVISD_DKIM_CONF='/usr/local/etc/amavisd.conf'
     export AMAVISD_LDAP_SCHEMA_NAME='amavisd-new.schema'
-    export AMAVISD_VIRUSMAILS_DIR='/var/virusmails'
 
     # Override location of command 'altermime'
     export ALTERMIME_BIN='/usr/local/bin/altermime'
     export AMAVISD_CONF='/etc/amavisd.conf'
     export AMAVISD_DKIM_CONF='/etc/amavisd.conf'
     export AMAVISD_LDAP_SCHEMA_NAME='amavisd.schema'
-    export AMAVISD_VIRUSMAILS_DIR='/var/virusmails'
 
     export AMAVISD_DKIM_DIR='/var/amavisd/dkim'