Commits

Zhang Huangbin committed e04468d

Typo.

Comments (0)

Files changed (11)

-========
-Full Installation Guide:
 
-*) Check if this is the lastest version before you run any script:
-   http://code.google.com/p/iredmail/downloads/list
+*) Check whether this is the lastest version:
+   http://www.iredmail.org/download.html
 
-*) Please do read the installation guide before you run any script
-   shipped within iRedMail:
+*) Please follow the installation guides strictly to deploy iRedMail:
 
-   - Red Hat Enterprise Linux 5 & CentOS 5:
-     http://code.google.com/p/iredmail/wiki/Installation
+   - Red Hat Enterprise Linux, CentOS, Scientific Linux:
+     http://www.iredmail.org/install_iredmail_on_rhel.html
 
-   - Debian 5.x
-     http://code.google.com/p/iredmail/wiki/Installation_on_Debian
+   - Debian:
+     http://www.iredmail.org/install_iredmail_on_debian.html
 
-   - Ubuntu 8.04 & 9.04
-     http://code.google.com/p/iredmail/wiki/Installation_on_Ubuntu
+   - Ubuntu, Mint:
+     http://www.iredmail.org/install_iredmail_on_ubuntu.html
 
-   - OpenSuSE 11.3
-     http://code.google.com/p/iredmail/wiki/Installation_on_OpenSuSE
+   - Gentoo Linux:
+     http://www.iredmail.org/install_iredmail_on_gentoo.html
 
-   - FreeBSD 7.2 & 8.0
-     http://code.google.com/p/iredmail/wiki/Installation_on_FreeBSD
+   - openSUSE:
+     http://www.iredmail.org/install_iredmail_on_opensuse.html
+
+   - FreeBSD:
+     http://www.iredmail.org/install_iredmail_on_freebsd.html
 
 ========
 *) License: GPL v2
 
 *) Authors:
-    - Zhang Huangbin (zhb(at)iredmail.org)
+    - Zhang Huangbin (zhb _at_ iredmail.org)
 
 *) Contributors:
     - Li Daobing (lidaobing (at) gmail.com)
-      Maintainer of Debian & Ubuntu binary packages.
+      Maintainer of Debian 5 & Ubuntu (hardy) binary packages.
 
-*) Issue tracker & bug report:
-    - http://code.google.com/p/iredmail/issues/list
-
-*) Forum: http://www.iredmail.org/forum/
+*) Community, bug report:
+    - http://www.iredmail.org/forum/
 
 ========
 *) Source packages we patched or modified can be download here:

iRedMail/conf/core

     [ X"$?" != X"0" ] && ECHO_ERROR "Package removed failed, please check the terminal output."
 }
 
-# Install/Remove binary packages on OpenSuSE.
+# Install/Remove binary packages on openSUSE 
 install_pkg_suse()
 {
     ECHO_INFO "Installing package(s): $@"

iRedMail/conf/dovecot

     fi
     export DOVECOT_DELIVER='/usr/libexec/dovecot/deliver'
 elif [ X"${DISTRO}" == X"SUSE" ]; then
-    # OpenSuSE 12.1 and later versions ship dovecot-1.2.x
+    # openSUSE 12.1 and later versions ship 1.2.x and 2.0.x
     export DOVECOT_VERSION='1.2'
 
     export DOVECOT_CONF='/etc/dovecot/dovecot.conf'

iRedMail/conf/global

         fi
 
     elif [ -f /etc/SuSE-release ]; then
-        # SLES/OpenSuSE
+        # openSUSE
         export DISTRO='SUSE'
 
-        # SuSE version number. e.g. 12.1
+        # Version number. e.g. 12.1
         export DISTRO_VERSION="$(grep 'VERSION' /etc/SuSE-release | awk '{print $3}')"
 
         # code name
     export PKG_BZIP2="bzip2${PKG_ARCH}"
 
 elif [ X"${DISTRO}" == X"SUSE" ]; then
-    # OpenSuSE.
+    # openSUSE
     # System user: root. Note: not all OSes have group 'root'.
     export SYS_ROOT_USER='root'
     export SYS_ROOT_GROUP='root'
     # Crontab related.
     export CRON_SPOOL_DIR='/var/spool/cron/tabs'
 
-    # Directory /etc/sysconfig/ on RHEL/CentOS/SuSE.
+    # Directory /etc/sysconfig/ on RHEL/CentOS/openSUSE.
     export ETC_SYSCONFIG_DIR='/etc/sysconfig'
 
     # Iptables rule file.

iRedMail/functions/apache_php.sh

     # --------------------------
     ECHO_DEBUG "Basic configurations."
     if [ X"${DISTRO}" == X"SUSE" ]; then
-        # OpenSuSE:
+        # openSUSE:
         #   - Define some settings in /etc/sysconfig/apache2
         perl -pi -e 's#^(APACHE_SERVERTOKENS=).*#${1}"ProductOnly"#' ${HTTPD_SYSCONFIG_CONF}
         perl -pi -e 's#^(APACHE_SERVERSIGNATURE=).*#${1}"email"#' ${HTTPD_SYSCONFIG_CONF}

iRedMail/functions/awstats.sh

                 perl -pi -e 's/^#(LoadModule.*mod_auth_mysql.*)/${1}/' ${HTTPD_CONF}
             fi
 
-            # OpenSuSE & FreeBSD special.
+            # openSUSE & FreeBSD special.
             if [ X"${DISTRO}" == X"SUSE" \
                 -o X"${DISTRO}" == X"GENTOO" \
                 -o X"${DISTRO}" == X"FREEBSD" \

iRedMail/functions/clamav.sh

         - ${FRESHCLAM_CONF}
         - /etc/logrotate.d/clamav
     * RC scripts:
-        - RHEL/CentOS/OpenSuSE:
+        - RHEL/CentOS/openSUSE:
             + ${DIR_RC_SCRIPTS}/clamd 
             + ${DIR_RC_SCRIPTS}/freshclam
         - Debian & Ubuntu:

iRedMail/functions/cleanup.sh

                 Y|y )
                     ECHO_INFO "Restarting firewall ..."
 
-                    # OpenSuSE will use /etc/init.d/{SuSEfirewall2_init, SuSEfirewall2_setup} instead.
+                    # openSUSE will use /etc/init.d/{SuSEfirewall2_init, SuSEfirewall2_setup} instead.
                     if [ X"${DISTRO}" != X"SUSE" ]; then
                         ${DIR_RC_SCRIPTS}/iptables restart
                     fi

iRedMail/functions/cluebringer.sh

                 perl -pi -e 's/^#(LoadModule.*mod_auth_mysql.*)/${1}/' ${HTTPD_CONF}
             fi
 
-            # OpenSuSE & FreeBSD special.
+            # openSUSE & FreeBSD special.
             if [ X"${DISTRO}" == X"SUSE" -o X"${DISTRO}" == X"FREEBSD" ]; then
                 echo "AuthBasicAuthoritative Off" >> ${CLUEBRINGER_HTTPD_CONF}
             fi

iRedMail/functions/packages.sh

     # Enable syslog or rsyslog.
     #
     if [ X"${DISTRO}" == X"RHEL" ]; then
-        # RHEL/CENTOS, SuSE
+        # RHEL/CENTOS, openSUSE
         if [ -x ${DIR_RC_SCRIPTS}/syslog ]; then
             ENABLED_SERVICES="syslog ${ENABLED_SERVICES}"
         elif [ -x ${DIR_RC_SCRIPTS}/rsyslog ]; then
     if [ X"${DISTRO}" == X"RHEL" ]; then
         ALL_PKGS="${ALL_PKGS} postfix${PKG_ARCH}"
     elif [ X"${DISTRO}" == X"SUSE" ]; then
-        # On OpenSuSE, postfix already has ldap_table support.
+        # On openSUSE, postfix already has ldap_table support.
         ALL_PKGS="${ALL_PKGS} postfix"
     elif [ X"${DISTRO}" == X"DEBIAN" -o X"${DISTRO}" == X"UBUNTU" ]; then
         ALL_PKGS="${ALL_PKGS} postfix postfix-pcre"
     #
     if [ X"${USE_IREDAPD}" == X"YES" ]; then
         [ X"${DISTRO}" == X"RHEL" ] && ALL_PKGS="${ALL_PKGS} python-ldap${PKG_ARCH}"
-        [ X"${DISTRO}" == X"SuSE" ] && ALL_PKGS="${ALL_PKGS} python-ldap"
+        [ X"${DISTRO}" == X"SUSE" ] && ALL_PKGS="${ALL_PKGS} python-ldap"
         [ X"${DISTRO}" == X"DEBIAN" -o X"${DISTRO}" == X"UBUNTU" ] && ALL_PKGS="${ALL_PKGS} python-ldap"
         # Don't append 'iredapd' to ${ENABLED_SERVICES} since we don't have
         # RC script ready in early stage.

iRedMail/functions/postfix.sh

     perl -pi -e 's/^(smtp.*inet)(.*)(n)(.*)(n)(.*smtpd)$/${1}${2}${3}${4}-${6}/' ${POSTFIX_FILE_MASTER_CF}
 
     if [ X"${DISTRO}" == X"SUSE" ]; then
-        # Remove duplicate relay_domains on SuSE.
+        # Remove duplicate relay_domains on openSUSE
         perl -pi -e 's/^(relay_domains.*)/#${1}/' ${POSTFIX_FILE_MAIN_CF}
 
         # Uncomment tlsmgr to avoid postfix warning message: