config是这样的
export VMAIL_USER_HOME_DIR='/var/vmail'
export STORAGE_BASE_DIR='/var/vmail'
export STORAGE_MAILBOX_DIR='/var/vmail/vmail1'
export SIEVE_DIR='/var/vmail/sieve'
export BACKUP_DIR='/var/vmail/backup'
export BACKUP_SCRIPT_OPENLDAP='/var/vmail/backup/backup_openldap.sh'
export BACKUP_SCRIPT_MYSQL='/var/vmail/backup/backup_mysql.sh'
export BACKUP_SCRIPT_PGSQL='/var/vmail/backup/backup_pgsql.sh'
export WEB_SERVER_IS_NGINX='NO'
export WEB_SERVER_IS_APACHE='YES'
export BACKEND_ORIG='OPENLDAP'
export BACKEND='OPENLDAP'
export VMAIL_DB_BIND_PASSWD='diE508UalZ6wGiNWKPctojNq6mEpsB'
export VMAIL_DB_ADMIN_PASSWD='aKxv9HpKHEya3z82WYw3q7uI7TsWds'
export LDAP_BINDPW='PKCkeNOelMv4UWXnmnPwyqDhttdOmu'
export LDAP_ADMIN_PW='xs2SHH9Wv2He9ARLHyyQ5afQLG898y'
export DEFAULT_PASSWORD_SCHEME='SSHA'
export dn2dnsname="phoneyou.net"
export LDAP_SUFFIX="dc=phoneyou,dc=net"
export LDAP_SUFFIX_MAJOR="phoneyou"
export LDAP_BINDDN="cn=vmail,dc=phoneyou,dc=net"
export LDAP_ADMIN_DN="cn=vmailadmin,dc=phoneyou,dc=net"
export LDAP_ROOTDN="cn=Manager,dc=phoneyou,dc=net"
export LDAP_BASEDN_NAME="domains"
export LDAP_BASEDN="o=domains,dc=phoneyou,dc=net"
export LDAP_ADMIN_BASEDN="o=domainAdmins,dc=phoneyou,dc=net"
export LDAP_ROOTPW='phoneyouldap'
export MYSQL_ROOT_PASSWD='phoneyoudb'
export MYSQL_ROOT_USER='root'
export SQL_SERVER='127.0.0.1'
export SQL_SERVER_PORT='3306'
export FIRST_DOMAIN='phoneyou.net'
export DOMAIN_ADMIN_NAME='postmaster'
export SITE_ADMIN_NAME='postmaster@phoneyou.net'
export DOMAIN_ADMIN_PASSWD_PLAIN='phoneyoupm'
export DOMAIN_ADMIN_PASSWD='phoneyoupm'
export SITE_ADMIN_PASSWD='phoneyoupm'
export FIRST_USER='postmaster'
export FIRST_USER_PASSWD='phoneyoupm'
export FIRST_USER_PASSWD_PLAIN='phoneyoupm'
export ENABLE_DKIM='YES'
export USE_IREDADMIN='YES'
export USE_RCM='YES'
export USE_SOGO='YES'
export USE_AWSTATS='YES'
export USE_FAIL2BAN='YES'
export AMAVISD_DB_PASSWD='KjtHW4d01vLD2iVDTdOUxgzudG8pkX'
export CLUEBRINGER_DB_PASSWD='6ZvuXcWBkVnotK8rIUCbVPiE8HKpKO'
export IREDADMIN_DB_PASSWD='WxSJwGphygb4MH5a1CgcGAkVY3wMZZ'
export RCM_DB_PASSWD='f66MGCtAu3TYjYZjd2cXHDQDjQvUqS'
export SOGO_DB_PASSWD='5LGKUixk8S1pWfAQ9oLIbleOSwwGZO'
export SOGO_SIEVE_MASTER_PASSWD='55cYHjV7VxFcVKt1x8S5tOhU8ZvjP0'
#EOF