Source

iredmail / iRedMail / conf / amavisd

Diff from to

iRedMail/conf/amavisd

 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'