1. Zhang Huangbin
  2. iredmail

Source

iredmail / iRedMail / conf / cluebringer

Diff from to

File iRedMail/conf/cluebringer

 export CLUEBRINGER_BINDHOST='127.0.0.1'
 export CLUEBRINGER_BINDPORT='10031'
 
+# Database.
+export CLUEBRINGER_DB_NAME='cluebringer'
+export CLUEBRINGER_DB_USER='cluebringer'
 export CLUEBRINGER_DB_PASSWD="$(${RANDOM_STRING})"
 
 export CLUEBRINGER_USER='cluebringer'
     export CLUEBRINGER_INIT_SCRIPT="${DIR_RC_SCRIPTS}/policyd"
     export CLUEBRINGER_PID_FILE='/var/run/cluebringer/cbpolicyd.pid'
 
-    # Database.
-    export CLUEBRINGER_DB_NAME='cluebringer'
-    export CLUEBRINGER_DB_USER='cluebringer'
-
     # Path of policyd-clean
     export CLUEBRINGER_CLEANUP_BIN='/usr/sbin/policyd-cleanup'
 
     export CLUEBRINGER_INIT_SCRIPT="${DIR_RC_SCRIPTS}/policyd"
     export CLUEBRINGER_PID_FILE='var/run/cluebringer/cbpolicyd.pid'
 
-    # Database.
-    export CLUEBRINGER_DB_NAME='cluebringer'
-    export CLUEBRINGER_DB_USER='cluebringer'
-
     # Path of policyd-clean
     export CLUEBRINGER_CLEANUP_BIN='/usr/lib/policyd/cleanup'
 
     export CLUEBRINGER_INIT_SCRIPT="${DIR_RC_SCRIPTS}/postfix-policyd"
     export CLUEBRINGER_PID_FILE='var/run/cluebringer/cbpolicyd.pid'
 
-    # Database.
-    export CLUEBRINGER_DB_NAME='postfixcluebringer'
-    export CLUEBRINGER_DB_USER='postfix-cluebringer'
-
     # Path of policyd-clean
     export CLUEBRINGER_CLEANUP_BIN='/usr/lib/postfix-policyd/cleanup'
 
     export CLUEBRINGER_INIT_SCRIPT="${DIR_RC_SCRIPTS}/policyd"
     export CLUEBRINGER_PID_FILE='var/run/cluebringer/cbpolicyd.pid'
 
-    # Database.
-    export CLUEBRINGER_DB_NAME='cluebringer'
-    export CLUEBRINGER_DB_USER='cluebringer'
-
     # Path of policyd-clean
     export CLUEBRINGER_CLEANUP_BIN='/usr/local/sbin/postfix-policyd-sf-cleanup'