Last active
August 29, 2015 14:00
-
-
Save martinhbramwell/11248166 to your computer and use it in GitHub Desktop.
Last Steps for Installing iRedMail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Set a proper host name in /etc/hosts, /etc/hostname | |
2) reboot | |
3) cd ./iRedMail-0.8.6 | |
4) edit the file : ./conf/postgresql | set version | export PGSQL_VERSION='9.3' | |
5) Generate the config file as below . . . . . | |
6) chmod ug+x ./iRedMail.sh | |
7) run : ./iRedMail.sh | |
8) run : a2enconf iredadmin | |
9) reboot | |
For unattended installation : | |
export PASS_RT=" some password " | |
export PASS_U1=" some password " | |
export PASS_ADM=" some password " | |
# | |
export DN1=" domain name here" | |
cat >myfile <<FISH | |
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 BACKEND_ORIG='PGSQL' | |
export BACKEND='PGSQL' | |
export VMAIL_DB_BIND_PASSWD='UXDAbreEzn41qkYpJHqyxAKg1b8C23' | |
export VMAIL_DB_ADMIN_PASSWD='PfFMfixXoBtaW4RJljn1KFgilHaImC' | |
export LDAP_BINDPW='u6Zr5eHbJGp55BfnweTVyFJ48GDL0F' | |
export LDAP_ADMIN_PW='lSejDItjeF5VKnstRHDT2BLeC5itkJ' | |
export PGSQL_ROOT_PASSWD='${PASS_RT}' | |
export PGSQL_ROOT_USER='postgres' | |
export SQL_SERVER='127.0.0.1' | |
export SQL_SERVER_PORT='5432' | |
export FIRST_DOMAIN='${DN1}' | |
export DOMAIN_ADMIN_NAME='postmaster' | |
export SITE_ADMIN_NAME='postmaster@${DN1}' | |
export DOMAIN_ADMIN_PASSWD_PLAIN='${PASS_ADM}' | |
export DOMAIN_ADMIN_PASSWD='${PASS_RT}' | |
export SITE_ADMIN_PASSWD='${PASS_ADM}' | |
export FIRST_USER='postmaster' | |
export FIRST_USER_PASSWD='${PASS_U1}' | |
export FIRST_USER_PASSWD_PLAIN='${PASS_U1}' | |
export ENABLE_DKIM='YES' | |
export USE_IREDADMIN='YES' | |
export USE_WEBMAIL='YES' | |
export USE_RCM='YES' | |
export REQUIRE_PHP='YES' | |
export USE_PHPPGADMIN='YES' | |
export USE_AWSTATS='YES' | |
export USE_FAIL2BAN='YES' | |
export AMAVISD_DB_PASSWD='iZQy2bY7o8u3nDgvzHrxPyZfoSHZsY' | |
export CLUEBRINGER_DB_PASSWD='dPQxFcq0yg2G5YGLDGqax0IJXjbZdW' | |
export IREDADMIN_DB_PASSWD='cvffBnDvBqMCrWHkEADnTtZahjVVIr' | |
export RCM_DB_PASSWD='fRK9NLVAmeIqVEuxP38Lnx6ZqM2vfS' | |
#EOF | |
FISH | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment